From 585560c1198722b2877dc95ccdc1e9cfd70d0ce5 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Mon, 4 Jan 2021 03:24:13 -0700 Subject: [PATCH] add simple docker-compose with my nginx container --- .vscode/numbered-bookmarks.json | 3 +++ docker-compose.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .vscode/numbered-bookmarks.json create mode 100644 docker-compose.yml diff --git a/.vscode/numbered-bookmarks.json b/.vscode/numbered-bookmarks.json new file mode 100644 index 0000000..4c08963 --- /dev/null +++ b/.vscode/numbered-bookmarks.json @@ -0,0 +1,3 @@ +{ + "bookmarks": [] +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b7cfa90 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,29 @@ +# +# nginx with livereload +# + +version: "3.7" + +services: + ab-nginx: + image: docker.asifbacchus.app/nginx/ab-nginx:latest + container_name: ab-nginx + restart: unless-stopped + volumes: + - ${watchDir}:/usr/share/nginx/html + ports: + - "127.0.0.1:8080:80" + environment: + - TZ=America/Edmonton + livereload: + image: docker.asifbacchus.app/livereload/livereload:latest + container_name: livereload + restart: unless-stopped + volumes: + - ${watchDir}:/var/watch + ports: + - "127.0.0.1:9999:9999" + environment: + - TZ=America/Edmonton + +#EOF \ No newline at end of file