mirror of
https://github.com/Xe138/windmill-git-sync.git
synced 2026-04-02 01:27:24 -04:00
Initial commit: Windmill Git Sync service
Add containerized service for syncing Windmill workspaces to Git repositories. Features: - Flask webhook server for triggering syncs from Windmill - wmill CLI integration for pulling workspace content - Automated Git commits and push to remote repository - Network-isolated (only accessible within Docker network) - Designed to integrate with existing Windmill docker-compose files Key components: - Docker container with Python 3.11, wmill CLI, Git, and Flask - Sync engine with error handling and logging - External volume support for persistent workspace data - Comprehensive documentation (README.md and CLAUDE.md)
This commit is contained in:
14
.env.example
Normal file
14
.env.example
Normal file
@@ -0,0 +1,14 @@
|
||||
# Windmill Configuration
|
||||
WINDMILL_BASE_URL=http://windmill_server:8000
|
||||
WINDMILL_TOKEN=your-windmill-token-here
|
||||
WINDMILL_WORKSPACE=home
|
||||
|
||||
# Workspace Volume (external Docker volume name)
|
||||
WORKSPACE_VOLUME=windmill-workspace-data
|
||||
|
||||
# Git Configuration
|
||||
GIT_REMOTE_URL=https://github.com/username/repo.git
|
||||
GIT_TOKEN=your-github-pat-here
|
||||
GIT_BRANCH=main
|
||||
GIT_USER_NAME=Windmill Git Sync
|
||||
GIT_USER_EMAIL=windmill@example.com
|
||||
Reference in New Issue
Block a user