infrastructure/ansible/roles/website/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

21 lines
709 B
YAML

version: "2.3"
services:
website:
image: docker.pkg.github.com/realorangeone/theorangeone.net/theorangeone.net:latest
environment:
- TZ=Europe/London
restart: unless-stopped
volumes:
- ./access.log:/var/log/nginx/access.log
- ./report.html:/usr/share/nginx/html/stats/index.html:ro
labels:
- traefik.enable=true
- traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`www.theorangeone.net`)
- traefik.http.routers.website.tls.certresolver=le
stats:
image: theorangeone/goaccess-static:latest
restart: unless-stopped
volumes:
- ./report.html:/var/www/goaccess/report.html
- ./access.log:/goaccess/access.log:ro