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:
2025-11-09 20:29:52 -05:00
parent c838fa568c
commit 0509c44497
8 changed files with 419 additions and 122 deletions

View File

@@ -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