From c5b6dc3bd7c5734863f7c869730b309cb53f83d4 Mon Sep 17 00:00:00 2001 From: Clifton Palmer Date: Tue, 15 Aug 2023 09:06:02 -0500 Subject: [PATCH] Root commit --- conf.d/purplebirdman.conf | 5 +++++ docker-compose.yml | 16 ++++++++++++++++ www/index.html | 1 + 3 files changed, 22 insertions(+) create mode 100644 conf.d/purplebirdman.conf create mode 100644 docker-compose.yml create mode 100644 www/index.html diff --git a/conf.d/purplebirdman.conf b/conf.d/purplebirdman.conf new file mode 100644 index 0000000..9576cbd --- /dev/null +++ b/conf.d/purplebirdman.conf @@ -0,0 +1,5 @@ +server { + location / { + root /www; + } +} diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..356f97d --- /dev/null +++ b/docker-compose.yml @@ -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 index 0000000..802992c --- /dev/null +++ b/www/index.html @@ -0,0 +1 @@ +Hello world -- 2.47.2