]> Untitled Git - purplebirdman.git/commitdiff
Root commit
authorClifton Palmer <clifton.james.palmer@protonmail.com>
Tue, 15 Aug 2023 14:06:02 +0000 (09:06 -0500)
committerClifton Palmer <clifton.james.palmer@protonmail.com>
Tue, 15 Aug 2023 14:06:02 +0000 (09:06 -0500)
conf.d/purplebirdman.conf [new file with mode: 0644]
docker-compose.yml [new file with mode: 0644]
www/index.html [new file with mode: 0644]

diff --git a/conf.d/purplebirdman.conf b/conf.d/purplebirdman.conf
new file mode 100644 (file)
index 0000000..9576cbd
--- /dev/null
@@ -0,0 +1,5 @@
+server {
+    location / {
+        root /www;
+    }
+}
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644 (file)
index 0000000..356f97d
--- /dev/null
@@ -0,0 +1,16 @@
+# requires variable config loading, such as:
+# docker stack deploy -c <(docker-compose config) proxy
+#
+
+version: '3'
+services:
+    www:
+        image: nginx:1.17
+        volumes:
+        - ./conf.d:/etc/nginx/conf.d
+        - ./www:/www
+        environment:
+        - NGINX_HOST=purplebirdman.com
+        - NGINX_PORT=80
+        ports:
+        - 80:80
diff --git a/www/index.html b/www/index.html
new file mode 100644 (file)
index 0000000..802992c
--- /dev/null
@@ -0,0 +1 @@
+Hello world