Jafner.net/homelab/fighter/config/nginx/docker-compose.yml
Joey Hafner edf5173f5e
Pin images to latest, remove obsolete 'version' top-level compose element
Pinning to digests was resulting in many stacks failing to come online with "manifest unknown" errors. Will look further into this.
2024-07-22 10:26:29 -07:00

15 lines
362 B
YAML

services:
nginx:
image: nginx:latest
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-privileged@file
networks:
web:
external: true