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

16 lines
363 B
YAML
Raw Normal View History

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