docker/nginx/nginx.yml

19 lines
435 B
YAML

version: "3"
services:
client:
image: nginx:latest
container_name: nginx
volumes:
- ./src:/usr/share/nginx/html
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.nginx.entrypoints=websecure"
- "traefik.http.routers.nginx.rule=Host(`nginx.meftimes.com`)"
- "traefik.http.routers.nginx.middlewares=authelia@docker"
networks:
proxy:
external: true