archives_blog/docker-compose.yml
2025-06-05 10:17:40 +02:00

21 lines
740 B
YAML

services:
archives:
image: nginx:stable
restart: unless-stopped
container_name: archives
volumes:
- /home/draconis/archives_blog/public:/usr/share/nginx/html:ro
labels:
- traefik.enable=true
- traefik.docker.network=traefik
- traefik.http.routers.archives.entrypoints=https
- traefik.http.routers.archives.rule=Host(`archives.colmaris.fr`)
- traefik.http.routers.archives.middlewares=hsts-headers@file,compression@file
- traefik.http.routers.archives.tls=true
- traefik.http.routers.archives.tls.certresolver=le
- traefik.http.services.archives.loadbalancer.server.port=80
networks:
- traefik
networks:
traefik:
external: true