infrastructure/ansible/roles/statping/files/docker-compose.yml

24 lines
543 B
YAML
Raw Normal View History

2020-03-25 21:27:15 +00:00
version: "2.3"
2020-03-08 16:41:13 +00:00
services:
statping:
image: statping/statping:latest
2020-03-08 16:41:13 +00:00
restart: unless-stopped
volumes:
- ./statping:/app
labels:
2020-06-18 20:49:12 +01:00
- traefik.enable=true
- traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)
- traefik.http.routers.statping.tls.certresolver=le
2020-06-24 18:35:20 +01:00
depends_on:
- db
2020-03-08 16:41:13 +00:00
db:
image: postgres:12-alpine
restart: unless-stopped
volumes:
- ./postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=statping
- POSTGRES_USER=statping