docs: demonstrate use of environment variables in config (#571)

* docs: demonstrate use of environment variables in config

* chore: reorder env vars to match order used in DB connection
This commit is contained in:
Daniel Hill
2023-09-23 22:02:50 +01:00
committed by GitHub
parent 4dea597726
commit aa7f8131cd
3 changed files with 7 additions and 1 deletions

View File

@ -18,6 +18,10 @@ services:
restart: always
ports:
- "8080:8080"
environment:
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
- POSTGRES_DB=gatus
volumes:
- ./config:/config
networks: