mirror of
https://github.com/mwwalters/npm-maintenance
synced 2026-11-22 21:50:40 -05:00
13 lines
513 B
YAML
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
|
|
# ---------------------------------- |