commit 55a6085f178e5d57dca311fd13a899eadc0aa892 Author: Radar231 Date: Sun Aug 1 16:34:45 2021 -0400 Initial checkin diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..03bd412 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.env diff --git a/README.md b/README.md new file mode 100644 index 0000000..c141726 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# nginx-delfax.net docker deployment + +## Introduction + +This is a docker-compose configuration to run an nginx container as +the delfax.net web site. + +This configuration requires an instance of nginx-proxy-manager to act as a +reverse proxy for the web site. + +## Links + +* https://hub.docker.com/_/nginx + +## Directories + +
+docker/
+└── nginx_delfax.net
+    └── delfax.net
+        └── html
+            └── images
+
+ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a13bff0 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +--- +version: '3.2' + +services: + ############################################################# + delfax-net: + container_name: delfax-nginx + image: nginx + restart: unless-stopped + # when used with nginx-proxy-manager, we don't need to expose + # any ports, and npm connects to the container's port + # ports: + # - '80:80' + volumes: + - ./delfax.net/html/:/usr/share/nginx/html + +networks: + default: + external: true + name: npm-backend + +# EOF