mirror of
https://github.com/Xe138/windmill-git-sync.git
synced 2026-04-01 17:27:23 -04:00
Add MIT License and Docker build validation script
- Add MIT License with William Ballou as copyright holder - Create scripts/validate_docker_build.sh for testing Docker builds independently - Update documentation to reflect API-based secret configuration model - Refactor sync.py to accept config via function parameters instead of env vars - Update server.py to parse JSON payloads and validate required fields - Improve security by removing secrets from environment variables
This commit is contained in:
@@ -7,19 +7,9 @@ services:
|
||||
expose:
|
||||
- "8080"
|
||||
volumes:
|
||||
- ${WORKSPACE_VOLUME}:/workspace
|
||||
- ${WINDMILL_DATA_PATH}/workspace:/workspace
|
||||
environment:
|
||||
# Windmill connection
|
||||
- WINDMILL_BASE_URL=http://windmill_server:8000
|
||||
- WINDMILL_TOKEN=${WINDMILL_TOKEN}
|
||||
- WINDMILL_WORKSPACE=${WINDMILL_WORKSPACE:-default}
|
||||
|
||||
# Git configuration
|
||||
- GIT_REMOTE_URL=${GIT_REMOTE_URL}
|
||||
- GIT_TOKEN=${GIT_TOKEN}
|
||||
- GIT_BRANCH=${GIT_BRANCH:-main}
|
||||
- GIT_USER_NAME=${GIT_USER_NAME:-Windmill Git Sync}
|
||||
- GIT_USER_EMAIL=${GIT_USER_EMAIL:-windmill@example.com}
|
||||
- WINDMILL_BASE_URL=${WINDMILL_BASE_URL:-http://windmill_server:8000}
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- windmill_server
|
||||
|
||||
Reference in New Issue
Block a user