Jafner.net/homelab/server/config/nginx/docker-compose.yml
2022-07-06 17:56:52 -07:00

15 lines
368 B
YAML

version: '3'
services:
nginx:
image: nginx
container_name: nginx_test
networks:
- web
labels:
- traefik.http.routers.nginx.rule=Host(`nginx.jafner.net`)
- traefik.http.routers.nginx.tls.certresolver=lets-encrypt
#- traefik.http.routers.nginx.middlewares=authentik@file,securityheaders@file
networks:
web:
external: true