From 4f6fa68cdc12a95d4ffcee99d9f4b52a4d883299 Mon Sep 17 00:00:00 2001 From: Radar231 Date: Sun, 1 Aug 2021 16:36:09 -0400 Subject: [PATCH] Initial checkin --- .gitignore | 1 + README.md | 24 ++++++++++++++++++++++++ docker-compose.yml | 22 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 docker-compose.yml 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..573f9a5 --- /dev/null +++ b/README.md @@ -0,0 +1,24 @@ +# nginx-radar231.com docker deployment + +## Introduction + +This is a docker-compose configuration to run an nginx container as +the radar231.com 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_radar231.com
+    └── radar231.com
+        └── html
+            └── images
+
+ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..d00f030 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +--- +version: '3.2' + +services: + ############################################################# + radar231-com: + container_name: radar231-nginx + image: nginx + restart: unless-stopped + # when used with nginx-proxy-manager, we don't need to expose + # any ports, as npm connects to the container's port + # ports: + # - '80:80' + volumes: + - ./radar231.com/html/:/usr/share/nginx/html + +networks: + default: + external: true + name: npm-backend + +# EOF