# Maintenance

Maintenance is an archived, deprecated, unsupported minimal nginx Docker image for self-hosters who need a static maintenance page while their main web server is down. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/3009/maintenance

## Description

Maintenance is an archived, deprecated, unsupported minimal nginx Docker image for self-hosters who need a static maintenance page while their main web server is down.

## Platform availability

Available on 2 of 10 platforms: Unraid, Helm.

## Health score

15/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (GitHub repository is archived)
- Popular: 14 (4 GitHub stars)
- Easy to install: 45 (2 install platforms, install notes, Docker image)

## Links

- GitHub: https://github.com/imagegenius/docker-maintenance
- Unraid: https://ca.unraid.net/apps/maintenance-19wnssq0lvw47i?q=maintenance

## Common questions

### What ports should be exposed for the Maintenance image?

Expose container ports 80 and 443, for example as 80:80 and 443:443. You can map them to different host ports using normal Docker port mapping.

### Does the Maintenance image try to import SWAG settings?

When it starts up, it will attempt to migrate from SWAG. You may need to change some Nginx settings for the container to start successfully.

### How can an important reverse-proxy service stay accessible while the main web server is down?

Add the service proxy config file, such as proxy-confs/homeassistant.conf, to /config/includes.txt. The config is copied into the maintenance appdata, allowing that service to be accessed through the container.

---
Source: Our Local Host (https://ourlocalhost.com/app/3009/maintenance), the self-hosted and open-source app directory.
