docker/nginx/nginx.yml

19 lines
435 B
YAML
Raw Permalink Normal View History

2024-03-20 15:51:45 +00:00
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