Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 817 Bytes

File metadata and controls

11 lines (10 loc) · 817 Bytes

My docker-compose config for multiple instances of Nightscout a Prod and a Bleeding Edge / Dev instance which gets the same data from a single Nightscout compatible Rig.

Instructions

  1. Do a git clone of this repo
  2. Start the container stack 'docker compose up -d' this should create a default Nginx/SWAG config for you under the ./nginx_config
  3. Stop the container stack 'docker compose down'
  4. Copy over the nginx_config-example files maintaining the same folder structure and filenames into ./nginx_config
  5. Take a copy of the .env-example and update with your environment specific config
  6. Start up the containers 'docker compose up -d'
  7. Read https://docs.linuxserver.io/general/swag/ for more info about what the Nginx/SWAG container can do, e.g. how to setup automated Letsencrypt certs
  8. Profit!