Jafner.net/archive/nginx/docker-compose.yml

15 lines
362 B
YAML
Raw Normal View History

2022-07-16 00:46:39 -07:00
services:
nginx:
image: nginx:latest
2024-02-15 01:16:08 -08:00
container_name: nginx_test
2022-07-16 00:46:39 -07:00
networks:
- web
labels:
2023-01-11 21:12:00 -08: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
2023-01-11 21:09:25 -08:00
- traefik.http.routers.nginx.middlewares=traefik-forward-auth-privileged@file
2022-07-16 00:46:39 -07:00
networks:
web:
external: true