infrastructure/ansible/roles/statping/files/docker-compose.yml
Jake Howard b7aebfaabd
Move statping to new machine
Also update it to the latest version. It's probably still buggy AF, but it'll do for what I need it to rigth now.
2020-07-14 19:35:55 +01:00

23 lines
543 B
YAML

version: "2.3"
services:
statping:
image: statping/statping:latest
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