add simple docker-compose with my nginx container

This commit is contained in:
Asif Bacchus 2021-01-04 03:24:13 -07:00
parent eedcc8b3c1
commit 585560c119
2 changed files with 32 additions and 0 deletions

3
.vscode/numbered-bookmarks.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"bookmarks": []
}

29
docker-compose.yml Normal file
View File

@ -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