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

15 lines
293 B
YAML

version: '3'
services:
nginx:
image: nginx
container_name: nginx_test
networks:
- web
labels:
- traefik.http.routers.nginx.rule=Host(`nginx.paladin.jafner.net`)
- traefik.http.routers.nginx.tls.certresolver=lets-encrypt
networks:
web:
external: true