- Update Ansible playbooks and roles for application deployment - Add new Gitea/Traefik troubleshooting playbooks - Update Docker Compose configurations (base, local, staging, production) - Enhance EncryptedEnvLoader with improved error handling - Add deployment scripts (autossh setup, migration, secret testing) - Update CI/CD workflows and documentation - Add Semaphore stack configuration
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
# Semaphore CI Stack - Environment Configuration
|
|
# Copy this file to .env and adjust values as needed
|
|
|
|
# ============================================
|
|
# MySQL Database Configuration
|
|
# ============================================
|
|
MYSQL_ROOT_PASSWORD=semaphore_root
|
|
MYSQL_DATABASE=semaphore
|
|
MYSQL_USER=semaphore
|
|
MYSQL_PASSWORD=semaphore
|
|
|
|
# ============================================
|
|
# Semaphore Configuration
|
|
# ============================================
|
|
|
|
# Port binding (default: 3000)
|
|
# Only accessible via localhost (127.0.0.1)
|
|
SEMAPHORE_PORT=3000
|
|
|
|
# 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
|