araozu.dev/docker-compose.yml

24 lines
702 B
YAML
Raw Normal View History

2024-12-16 02:29:25 +00:00
services:
araozu_dev:
image: nginx:alpine
restart: unless-stopped
2024-12-16 02:35:19 +00:00
container_name: dev_araozu
2024-12-16 02:29:25 +00:00
volumes:
- /var/www/dev.araozu/:/usr/share/nginx/html
labels:
- "traefik.enable=true"
2024-12-16 02:41:51 +00:00
- "traefik.http.routers.dev_araozu.rule=Host(`araozu.dev`)"
- "traefik.http.routers.dev_araozu.entrypoints=websecure"
- "traefik.http.routers.dev_araozu.tls=true"
- "traefik.http.routers.dev_araozu.tls.certresolver=hetzner-resolver"
- "traefik.http.routers.dev_araozu.tls.domains[0].main=araozu.dev"
- "traefik.http.routers.dev_araozu.tls.domains[0].sans=*.araozu.dev"
2024-12-16 02:29:25 +00:00
networks:
- proxy
networks:
proxy:
name: proxy
external: true