diff --git a/docker/container-snippet-docker-compose.yml b/docker/container-snippet-docker-compose.yml new file mode 100644 index 0000000..f1daf2b --- /dev/null +++ b/docker/container-snippet-docker-compose.yml @@ -0,0 +1,13 @@ +# --- 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 + # ---------------------------------- \ No newline at end of file diff --git a/npm-maintenance/index.html b/npm-maintenance/index.html new file mode 100644 index 0000000..851c832 --- /dev/null +++ b/npm-maintenance/index.html @@ -0,0 +1,36 @@ + + +
+ + +This resource is currently unavailable while we perform scheduled maintenance.
+Please contact the administrator with any questions.
+