2021-07-23 14:48:50 -06:00
|
|
|
#
|
2021-07-23 18:36:14 -06:00
|
|
|
# node-livereload-tls stack
|
2021-07-23 14:48:50 -06:00
|
|
|
#
|
|
|
|
|
|
|
|
version: '2.4'
|
|
|
|
|
|
|
|
services:
|
|
|
|
ab-nginx:
|
|
|
|
image: docker.asifbacchus.dev/nginx/ab-nginx:latest
|
|
|
|
container_name: ab-nginx
|
|
|
|
volumes:
|
|
|
|
- ./certs/certs:ro
|
|
|
|
- ${WATCHDIR}:/usr/share/nginx/html:ro
|
|
|
|
- ./nginx/config:/etc/nginx/config:ro
|
|
|
|
ports:
|
2021-07-23 19:23:13 -06:00
|
|
|
- "${NGINX_HTTP:-80}:80"
|
|
|
|
- "${NGINX_HTTPS:-443}:443"
|
|
|
|
environment:
|
|
|
|
- TZ=${TZ}
|
|
|
|
- SERVER_NAMES=${SERVER_NAMES}
|
|
|
|
- TLS13_ONLY=${TLS13_ONLY}
|
2021-07-23 14:48:50 -06:00
|
|
|
user: "8080:${GID:-8080}"
|
|
|
|
livereload:
|
2021-07-23 18:25:31 -06:00
|
|
|
image: docker.asifbacchus.dev/livereload/livereload:latest
|
2021-07-23 14:48:50 -06:00
|
|
|
container_name: livereload
|
|
|
|
volumes:
|
2021-07-23 19:25:23 -06:00
|
|
|
- ./certs:certs
|
2021-07-23 14:48:50 -06:00
|
|
|
- ${WATCHDIR}:/watch:ro
|
|
|
|
ports:
|
2021-07-23 19:23:13 -06:00
|
|
|
- "${LR_PORT:-35729}:${LR_PORT:-35729}"
|
|
|
|
environment:
|
|
|
|
- TZ=${TZ}
|
|
|
|
- LR_PORT=${LR_PORT}
|
|
|
|
- LR_EXTS=${LR_EXTS}
|
|
|
|
- LR_EXCLUDE=${LR_EXCLUDE}
|
|
|
|
- LR_DELAY=${LR_DELAY}
|
|
|
|
- LR_DEBUG=${LR_DEBUG}
|
|
|
|
- LR_HTTPS=${LR_HTTPS}
|
|
|
|
- CERT_HOSTNAME=${CERT_HOSTNAME}
|
2021-07-23 14:48:50 -06:00
|
|
|
user: "9999:${GID:-9999}"
|
|
|
|
command: listen
|
|
|
|
|
|
|
|
#EOF
|