Initial checkin

This commit is contained in:
Radar231 2021-08-01 16:34:45 -04:00
commit 55a6085f17
3 changed files with 47 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.env

24
README.md Normal file
View File

@ -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
<pre>
docker/
└── nginx_delfax.net
└── delfax.net
   └── html
   └── images
</pre>

22
docker-compose.yml Normal file
View File

@ -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