1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00

Uniformize docker-compose files

This commit is contained in:
TwinProduction 2021-09-10 20:03:51 -04:00
parent dafd547656
commit effad21c64
4 changed files with 10 additions and 12 deletions

View file

@ -1,12 +1,11 @@
version: '3.7'
version: "3.9"
services:
gatus:
container_name: gatus
image: twinproduction/gatus
restart: always
ports:
- 8080:8080
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
networks:
@ -18,7 +17,7 @@ services:
restart: always
command: --config.file=/etc/prometheus/prometheus.yml
ports:
- 9090:9090
- "9090:9090"
volumes:
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
@ -31,7 +30,7 @@ services:
environment:
GF_SECURITY_ADMIN_PASSWORD: secret
ports:
- 3000:3000
- "3000:3000"
volumes:
- ./grafana/grafana.ini/:/etc/grafana/grafana.ini:ro
- ./grafana/provisioning/:/etc/grafana/provisioning/:ro

View file

@ -1,11 +1,10 @@
version: "3.8"
version: "3.9"
services:
gatus:
container_name: gatus
image: twinproduction/gatus:latest
ports:
- 8080:8080
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
networks:
@ -15,7 +14,7 @@ services:
container_name: mattermost
image: mattermost/mattermost-preview:5.26.0
ports:
- 8065:8065
- "8065:8065"
networks:
- default

View file

@ -15,7 +15,7 @@ services:
image: twinproduction/gatus:latest
restart: always
ports:
- 8080:8080
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
networks:

View file

@ -1,9 +1,9 @@
version: "3.8"
version: "3.9"
services:
gatus:
image: twinproduction/gatus:latest
ports:
- 8080:8080
- "8080:8080"
volumes:
- ./config.yaml:/config/config.yaml
- ./data:/data/