16 lines
357 B
YAML
16 lines
357 B
YAML
version: '3'
|
|
services:
|
|
nginx:
|
|
image: nginx
|
|
container_name: nginx_test
|
|
networks:
|
|
- web
|
|
labels:
|
|
- traefik.http.routers.nginx.rule=Host(`test.jafner.net`)
|
|
- traefik.http.routers.nginx.tls.certresolver=lets-encrypt
|
|
- traefik.http.routers.nginx.middlewares=traefik-forward-auth@file
|
|
|
|
networks:
|
|
web:
|
|
external: true
|