initial checkin
This commit is contained in:
commit
f442d80e34
|
@ -0,0 +1 @@
|
||||||
|
*.env
|
|
@ -0,0 +1,23 @@
|
||||||
|
# nginx-go.delfax.net docker deployment
|
||||||
|
|
||||||
|
## Introduction
|
||||||
|
|
||||||
|
This is a docker-compose configuration to run an nginx container as
|
||||||
|
the go.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/
|
||||||
|
└── docker_nginx-go.delfax.net/
|
||||||
|
└── go.delfax.net/
|
||||||
|
└── html/
|
||||||
|
</pre>
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
version: '3.2'
|
||||||
|
|
||||||
|
services:
|
||||||
|
#############################################################
|
||||||
|
go-delfax-net:
|
||||||
|
container_name: go-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:
|
||||||
|
- ./go.delfax.net/html/:/usr/share/nginx/html
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external: true
|
||||||
|
name: npm-backend
|
||||||
|
|
||||||
|
# EOF
|
Loading…
Reference in New Issue