2020-04-10 11:31:01 +01:00
|
|
|
version: "2.3"
|
|
|
|
services:
|
|
|
|
website:
|
|
|
|
image: docker.pkg.github.com/realorangeone/theorangeone.net/theorangeone.net:latest
|
|
|
|
container_name: theorangeone.net
|
|
|
|
environment:
|
|
|
|
- TZ=Europe/London
|
|
|
|
restart: unless-stopped
|
2020-04-10 12:33:51 +01:00
|
|
|
volumes:
|
|
|
|
- ./access.log:/var/log/nginx/access.log
|
|
|
|
- ./report.html:/usr/share/nginx/html/stats/index.html:ro
|
2020-04-10 11:31:01 +01:00
|
|
|
labels:
|
2020-06-18 20:49:12 +01:00
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.website.rule=Host(`theorangeone.net`) || Host(`www.theorangeone.net`)
|
|
|
|
- traefik.http.routers.website.tls.certresolver=le
|
2020-04-10 12:33:51 +01:00
|
|
|
|
|
|
|
stats:
|
|
|
|
image: theorangeone/goaccess-static:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- ./report.html:/var/www/goaccess/report.html
|
|
|
|
- ./access.log:/goaccess/access.log:ro
|