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

31 lines
783 B
YAML
Raw Normal View History

version: "2.3"
services:
webdav:
image: ghcr.io/realorangeone/webdav:latest
restart: unless-stopped
volumes:
- ./sites:/srv
- ./htpasswd.txt:/etc/nginx/.htpasswd:ro
environment:
- PUID={{ docker_user.id }}
2021-01-17 12:49:23 +00:00
labels:
- traefik.enable=true
2021-01-17 20:03:02 +00:00
- traefik.http.routers.pages.rule=Host(`pages.theorangeone.net`)
traefik-pages:
image: ghcr.io/realorangeone/traefik-pages:latest
volumes:
- ./sites:/sites:ro
restart: unless-stopped
user: "{{ docker_user.id }}"
ports:
- 127.0.0.1:5000:5000
environment:
- SITES_ROOT=/sites
- TRAEFIK_SERVICE=traefik-pages-pages@docker
- AUTH_PASSWORD={{ traefik_pages_password }}
- TRAEFIK_CERT_RESOLVER=le
labels:
- traefik.enable=true