From ec6f552a536059a3d2d310b98da668888578463b Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 15 Aug 2024 10:24:17 -0700 Subject: [PATCH] #4 Add nginx container at `test.nginx.jafner.net` to test DNS challenge --- homelab/fighter/config/nginx/docker-compose.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 homelab/fighter/config/nginx/docker-compose.yml diff --git a/homelab/fighter/config/nginx/docker-compose.yml b/homelab/fighter/config/nginx/docker-compose.yml new file mode 100644 index 00000000..feee0443 --- /dev/null +++ b/homelab/fighter/config/nginx/docker-compose.yml @@ -0,0 +1,14 @@ +services: + nginx: + image: nginx + container_name: nginx_nginx + restart: "no" + networks: + - web + labels: + - traefik.http.routers.nginx.rule=Host(`test.nginx.jafner.net`) + - traefik.http.routers.nginx.tls.certresolver=lets-encrypt-dns01 + +networks: + web: + external: true