infrastructure/ansible/roles/statping/files/docker-compose.yml
Jake Howard fe5a5984c3
Remove container names from containers
They're not needed for anything, and caused annoying weird issues when cycling containers
2020-06-27 17:45:28 +01:00

23 lines
547 B
YAML

version: "2.3"
services:
statping:
image: hunterlong/statping:v0.80.70
restart: unless-stopped
volumes:
- ./statping:/app
labels:
- traefik.enable=true
- traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)
- traefik.http.routers.statping.tls.certresolver=le
depends_on:
- db
db:
image: postgres:12-alpine
restart: unless-stopped
volumes:
- ./postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=statping
- POSTGRES_USER=statping