- Add QUICKSTART.md and SETUP_REPOSITORY.md for Semaphore stack - Add playbooks directory for Semaphore deployment - Update Semaphore docker-compose.yml, env.example, and README - Add Traefik local configuration files - Disable semaphore.yml in Traefik dynamic config - Update docker-compose.local.yml and build-image workflow
52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
# Semaphore CI Stack - Environment Configuration
|
|
# Copy this file to .env and adjust values as needed
|
|
# Note: Rename this file to .env.example if you prefer the standard naming
|
|
|
|
# ============================================
|
|
# MySQL Database Configuration
|
|
# ============================================
|
|
MYSQL_ROOT_PASSWORD=semaphore_root
|
|
MYSQL_DATABASE=semaphore
|
|
MYSQL_USER=semaphore
|
|
MYSQL_PASSWORD=semaphore
|
|
|
|
# ============================================
|
|
# Semaphore Configuration
|
|
# ============================================
|
|
|
|
# Port binding (default: 9300)
|
|
# Only accessible via localhost (127.0.0.1)
|
|
# Note: Changed from 3000 to avoid conflict with Gitea
|
|
SEMAPHORE_PORT=9300
|
|
|
|
# Admin User Configuration
|
|
SEMAPHORE_ADMIN=admin
|
|
SEMAPHORE_ADMIN_NAME=Administrator
|
|
SEMAPHORE_ADMIN_EMAIL=admin@localhost
|
|
SEMAPHORE_ADMIN_PASSWORD=admin
|
|
|
|
# Playbook Storage Path (inside container)
|
|
SEMAPHORE_PLAYBOOK_PATH=/tmp/semaphore
|
|
|
|
# Access Key Encryption
|
|
# Generate with: head -c32 /dev/urandom | base64
|
|
# IMPORTANT: Change this in production!
|
|
SEMAPHORE_ACCESS_KEY_ENCRYPTION=change-me-in-production
|
|
|
|
# ============================================
|
|
# Optional: LDAP Configuration
|
|
# ============================================
|
|
# SEMAPHORE_LDAP_ENABLED=false
|
|
# SEMAPHORE_LDAP_HOST=ldap.example.com
|
|
# SEMAPHORE_LDAP_PORT=389
|
|
# SEMAPHORE_LDAP_DN=cn=admin,dc=example,dc=com
|
|
# SEMAPHORE_LDAP_PASSWORD=ldap_password
|
|
# SEMAPHORE_LDAP_BASE_DN=dc=example,dc=com
|
|
# SEMAPHORE_LDAP_USER_FILTER=(uid=%s)
|
|
|
|
# ============================================
|
|
# Optional: Webhook Configuration
|
|
# ============================================
|
|
# SEMAPHORE_WEBHOOK_URL=http://localhost:8080/webhook
|
|
|