infrastructure/ansible/roles/upload/files/docker-compose.yml
Jake Howard 37b8c48a77
All checks were successful
/ terraform (push) Successful in 1m24s
/ ansible (push) Successful in 2m47s
Remove legacy short domains
I never used them, and the certificate renewal didn't work anyway.
2023-10-02 09:37:05 +01:00

50 lines
1.1 KiB
YAML

version: "2.3"
services:
webdav:
image: ghcr.io/realorangeone/webdav:latest
restart: unless-stopped
volumes:
- ./files:/srv
- ./htpasswd.txt:/etc/nginx/.htpasswd:ro
environment:
- PUID={{ docker_user.id }}
labels:
- traefik.enable=true
- traefik.http.routers.upload.rule=Host(`upload.theorangeone.net`)
networks:
- default
- traefik
img:
image: ghcr.io/realorangeone/static-server:latest
restart: unless-stopped
volumes:
- ./files/img:/srv:ro
environment:
- PUID={{ docker_user.id }}
labels:
- traefik.enable=true
- traefik.http.routers.img.rule=Host(`img.theorangeone.net`)
networks:
- default
- traefik
dl:
image: ghcr.io/realorangeone/static-server:latest
restart: unless-stopped
volumes:
- ./files/dl:/srv:ro
environment:
- PUID={{ docker_user.id }}
labels:
- traefik.enable=true
- traefik.http.routers.dl.rule=Host(`dl.theorangeone.net`)
networks:
- default
- traefik
networks:
traefik:
external: true