Asif Bacchus
9717e8a6fa
- rename for integration with node-dev environment and production deployment - update image and product name across all files - use generated project file to install node dependencies - bump internal version to 2.6
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
#
|
|
# ab-livereload stack
|
|
#
|
|
|
|
version: '2.4'
|
|
|
|
services:
|
|
livereload:
|
|
image: docker.asifbacchus.dev/livereload/livereload:latest
|
|
container_name: livereload
|
|
volumes:
|
|
- ./certs:certs
|
|
- ${WATCHDIR}:/watch:ro
|
|
networks:
|
|
- network
|
|
ports:
|
|
- "${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}
|
|
user: "9999:${GID:-9999}"
|
|
command: listen
|
|
ab-nginx:
|
|
image: docker.asifbacchus.dev/nginx/ab-nginx:latest
|
|
container_name: ab-nginx
|
|
depends_on:
|
|
livereload:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ./certs/certs:ro
|
|
- ${WATCHDIR}:/usr/share/nginx/html:ro
|
|
- ./nginx/config:/etc/nginx/config:ro
|
|
networks:
|
|
- network
|
|
ports:
|
|
- "${NGINX_HTTP:-80}:80"
|
|
- "${NGINX_HTTPS:-443}:443"
|
|
environment:
|
|
- TZ=${TZ}
|
|
- SERVER_NAMES=${SERVER_NAMES}
|
|
- TLS13_ONLY=${TLS13_ONLY}
|
|
user: "8080:${GID:-8080}"
|
|
|
|
networks:
|
|
network:
|
|
external: false
|
|
|
|
#EOF
|