This container hosts a webhook listener that triggers a script to redeploy the skyOS Docker environment on GitHub package releases.
This a customized build based on the work of docker-webook.
-
Replace
mysecretin hooks.json with an appropriate Github webhook secret. -
Configure the appropriate credentials for the Github Docker registry in docker-compose.yml:
DOCKER_USERNAME: <registry user> DOCKER_PASSWORD: <registry password/token> -
Ensure the proper path to the app is mounted in docker-compose.yml:
- /path/to/app:/app
docker-compose builddocker-compose up -d
Start the docker container and ensure requests are routed appropriately.