Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiagostutz/maintenance-mode-display
An easy to use docker container to display maintenance mode using Environment vars to set the messages/image
https://github.com/tiagostutz/maintenance-mode-display
docker maintenance maintenance-mode
Last synced: 10 days ago
JSON representation
An easy to use docker container to display maintenance mode using Environment vars to set the messages/image
- Host: GitHub
- URL: https://github.com/tiagostutz/maintenance-mode-display
- Owner: tiagostutz
- License: mit
- Created: 2020-10-15T18:51:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-15T19:36:15.000Z (about 4 years ago)
- Last Synced: 2024-12-08T19:14:43.001Z (14 days ago)
- Topics: docker, maintenance, maintenance-mode
- Language: HTML
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Maintenance Mode Display
Just bring this container up and point your Load Balancer to it.
## Running
Copy this docker-compose.yml
```yml
version: "3"services:
www:
image: tiagostutz/maintenance-mode-display
build: .
environment:
- FAVICON_URL=https://avatars0.githubusercontent.com/u/17803331?s=200&v=4
- PAGE_TITLE=Maintenance, sorry
- LOGO_URL=https://avatars0.githubusercontent.com/u/17803331?s=200&v=4
- H1=Sorry, we are down for maintenance
- H2=We'll be back by 6 A.M.
ports:
- 8777:80
```And then run:
```
$ docker-compose up
```Open `http://localhost:8777/` and voilà:
## Configuration using ENV vars:
- `FAVICON_URL`: the URL of favicon
- `PAGE_TITLE`: the Title of the page
- `LOGO_URL`: the url of the logo you want to be presented
- `H1`: the main title
- `H2`: the secondary info