homelab/server/config/nginx/docker-compose.yml

16 lines
353 B
YAML
Raw Normal View History

2022-07-16 00:46:39 -07:00
version: '3'
services:
nginx:
image: nginx
2022-10-17 10:05:51 -07:00
container_name: nginx_test
2022-07-16 00:46:39 -07:00
networks:
- web
labels:
2022-10-17 10:05:51 -07:00
- traefik.http.routers.nginx.rule=Host(`test.jafner.net`)
2022-07-16 00:46:39 -07:00
- traefik.http.routers.nginx.tls.certresolver=lets-encrypt
2022-10-17 10:05:51 -07:00
#- traefik.http.routers.nginx.middlewares=traefik-forward-auth
2022-07-16 00:46:39 -07:00
networks:
web:
external: true