This is a small docker container to serve a single index.php to all inbound requests.
docker create \
--name=docker-catchall \
-v <path to data>:/var/www/html \
-e PAGE_TITLE= "Service unavailable" \
-e PAGE_BODY= "#domain# is currently unavailable" \
-p 80:80
probablyrational/catchall-http
- PAGE_TITLE = "Service unavailable"
- PAGE_BODY = "#domain# is currently unavailable"
- PAGE_HOMELINK = "https://probablyrational.com/about"
- PAGE_HOMETEXT = "About us"
- :/var/www/html
- 80
Probably Rational Ltd. – @probablypi – contact@probablyrational.com
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/probablyrational/docker-catchall-http
- Fork it (https://github.com/probablyrational/docker-catchall-http/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request