This is a simple nodejs server that is used to serve the Ozone Maintenance page.
- Clone the repo
git clone https://github.com/ozone-his/ozone-maintenance-page
- Run
npm install
- Export env vars
export PORT=3000 \
export TITLE="The system is currently undergoing maintenance" \
export MESSAGE="We are currently undergoing maintenance. Please check back later." \
export SUPPORT_EMAIL="+00 000 000 0000" \
export SUPPORT_PHONE="[email protected]"
- Run
node index.js
The docker setup assumes that you are using Traefik that is deployed in the web network. If you are not using Traefik, you can remove the labels and the network directives in the docker-compose file.
docker compose up --build