diff --git a/Config/ReverseProxy/Dockerfile.disabled b/Config/ReverseProxy/Dockerfile similarity index 100% rename from Config/ReverseProxy/Dockerfile.disabled rename to Config/ReverseProxy/Dockerfile diff --git a/Config/ReverseProxy/docker-compose.yml b/Config/ReverseProxy/docker-compose.yml new file mode 100644 index 0000000..f5ce6e4 --- /dev/null +++ b/Config/ReverseProxy/docker-compose.yml @@ -0,0 +1,20 @@ +# 2022-10-05 Hyperling +# Reverse Proxy +# This is a revised version of the original work here: +# https://phoenixnap.com/kb/docker-nginx-reverse-proxy +# https://www.docker.com/blog/how-to-use-the-official-nginx-docker-image/ + +version: '2' + +services: + app: + image: nginx + restart: always +# Instead of using a volume, have the config files in . and COPY them to container with DockerFile +# volumes: +# - /opt/Docker/Volumes/ReverseProxy/nginx:/etc/nginx/ + build: ./ + ports: + - 8081:80 + - 8082:443 +