Hack Club Downtime Notice
Simple page to notify users during downtime.
Coolify Deployment
- Create a new service in Coolify
- Point to this repository
- Set the environment variable:
DISPLAY_TEXT- Your message (supports Markdown)
- Set port to
80
Note: Changing DISPLAY_TEXT only requires a container restart, not a rebuild. The HTML is generated at container startup.
Example:
DISPLAY_TEXT="We're currently experiencing downtime.\n\nCheck [status page](https://status.example.com) for updates."Example:
DISPLAY_TEXT=Hackatime is currently moving to a new, faster server\n\nIt'll take about 1 hour. Don't worry - even if Hackatime in your editor is giving you errors, all of your heartbeats are saved locally and will be uploaded when Hackatime is back online. No time will be lost.\n\nWish Hackatime a good move! It'll be back in about 1 hour.\n\n\Local Testing
docker build -t notice .
docker run -p 8080:80 -e DISPLAY_TEXT="Down for maintenance" noticeVisit http://localhost:8080 to see your notice.