Files
npm-maintenance/docker/container-snippet-docker-compose.yml
T

13 lines
513 B
YAML

# --- add this snippet to your existing docker-compose.yml file ---
# --- this will define a small container that will serve the maintenance page you define in /maintenance/index.html---
# --- this assumes you have a docker network by the name nginxproxymanager ---
# --- Maintenance page container ---
maintenance:
image: nginx:alpine
restart: unless-stopped
volumes:
- ./maintenance:/usr/share/nginx/html:ro
networks:
- nginxproxymanager
# ----------------------------------