docs(example): move config.yaml to config folder (#265)

ref: https://github.com/TwiN/gatus/issues/151#issuecomment-912932934

update all exmaple in docker-compose file.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2022-03-20 12:04:13 +08:00 committed by GitHub
parent 0bf2271a73
commit bec2820969
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 7 additions and 7 deletions

View File

@ -7,7 +7,7 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
volumes: volumes:
- ./config.yaml:/config/config.yaml - ./config:/config
networks: networks:
- metrics - metrics

View File

@ -6,7 +6,7 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
volumes: volumes:
- ./config.yaml:/config/config.yaml - ./config:/config
networks: networks:
- default - default

View File

@ -19,11 +19,11 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
volumes: volumes:
- ./config.yaml:/config/config.yaml - ./config:/config
networks: networks:
- web - web
depends_on: depends_on:
- postgres - postgres
networks: networks:
web: web:

View File

@ -5,5 +5,5 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
volumes: volumes:
- ./config.yaml:/config/config.yaml - ./config:/config
- ./data:/data/ - ./data:/data/

View File

@ -5,4 +5,4 @@ services:
ports: ports:
- 8080:8080 - 8080:8080
volumes: volumes:
- ./config.yaml:/config/config.yaml - ./config:/config