From: Clifton Palmer Date: Tue, 15 Aug 2023 14:06:02 +0000 (-0500) Subject: Root commit X-Git-Tag: 1.0.0~8 X-Git-Url: http://git.purplebirdman.com/purplebirdman.git/commitdiff_plain/c5b6dc3bd7c5734863f7c869730b309cb53f83d4?ds=sidebyside Root commit --- c5b6dc3bd7c5734863f7c869730b309cb53f83d4 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