Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chrimaho/741c96e658833e509a8e547982b3ce1e to your computer and use it in GitHub Desktop.
Save chrimaho/741c96e658833e509a8e547982b3ce1e to your computer and use it in GitHub Desktop.
version: "3.8"
name: update-from-git
services:
listener:
build:
context: ../
dockerfile: docker/uvicorn.Dockerfile
container_name: listener
environment:
- GIT_URL=https://github.com/chrimaho/code-snippets.git
- API_ENDPOINT=/api/webhook
- REPO_DIR=repo
- VERSION=0.0.1
- TITLE=Update from Git
- DESCRIPTION=Automated process for pulling from Git repo upon webhook call.
- CONTACT_NAME=Chris Mahoney
- CONTACT_URL=https://www.chrimaho.com
- [email protected]
volumes:
- ../repo:/app/repo
ports:
- 8880:8880
- 443:8880
- 80:8880
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment