]> Untitled Git - proxy.git/commitdiff
Initial version of docker app proxy
authorClifton Palmer <cliftonpalmer@pop-os>
Sat, 15 Jun 2019 19:55:14 +0000 (14:55 -0500)
committerClifton Palmer <cliftonpalmer@pop-os>
Sat, 15 Jun 2019 19:55:14 +0000 (14:55 -0500)
docker-compose.yml [new file with mode: 0644]
nginx.conf [new file with mode: 0644]

diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644 (file)
index 0000000..f3e2b50
--- /dev/null
@@ -0,0 +1,18 @@
+version: '3'
+networks:
+    proxy:
+        external:
+            name: proxy
+services:
+    proxy:
+        image: nginx:1.17
+        volumes:
+        - ./nginx.conf:/etc/nginx/nginx.conf
+        environment:
+        - NGINX_HOST=purplebirdman.online
+        - NGINX_PORT=80
+        ports:
+        - 8080:80
+        networks:
+        - default
+        - proxy
diff --git a/nginx.conf b/nginx.conf
new file mode 100644 (file)
index 0000000..a49653b
--- /dev/null
@@ -0,0 +1,10 @@
+events {}
+
+http {
+    server {
+        server_name public.purplebirdman.online;
+        location / {
+            proxy_pass http://public_web;
+        }
+    }
+}