47 lines
1.6 KiB
Plaintext
47 lines
1.6 KiB
Plaintext
# LetsBe Hub Production Configuration
|
|
# Copy this file to .env and fill in the values
|
|
|
|
# =============================================================================
|
|
# REQUIRED - Must be set before deployment
|
|
# =============================================================================
|
|
|
|
# Hub public URL (used for auth callbacks and runner communication)
|
|
HUB_URL=https://hub.yourdomain.com
|
|
|
|
# Database password (generate a strong random password)
|
|
POSTGRES_PASSWORD=CHANGE_ME_STRONG_PASSWORD_HERE
|
|
|
|
# NextAuth secret (generate with: openssl rand -base64 32)
|
|
NEXTAUTH_SECRET=CHANGE_ME_GENERATE_WITH_OPENSSL_RAND_BASE64_32
|
|
|
|
# Credential encryption key (generate with: openssl rand -hex 32)
|
|
CREDENTIAL_ENCRYPTION_KEY=CHANGE_ME_GENERATE_WITH_OPENSSL_RAND_HEX_32
|
|
|
|
# Settings encryption key (generate with: openssl rand -hex 32)
|
|
SETTINGS_ENCRYPTION_KEY=CHANGE_ME_GENERATE_WITH_OPENSSL_RAND_HEX_32
|
|
|
|
# =============================================================================
|
|
# OPTIONAL - Defaults are usually fine
|
|
# =============================================================================
|
|
|
|
# Database settings
|
|
POSTGRES_USER=letsbe_hub
|
|
POSTGRES_DB=letsbe_hub
|
|
|
|
# Hub port (change if 3000 is occupied)
|
|
HUB_PORT=3847
|
|
|
|
# Hub image tag (default: master)
|
|
HUB_IMAGE_TAG=master
|
|
|
|
# Ansible Runner settings
|
|
DOCKER_REGISTRY_URL=code.letsbe.solutions
|
|
DOCKER_IMAGE_NAME=letsbe/ansible-runner
|
|
DOCKER_IMAGE_TAG=master
|
|
DOCKER_MAX_CONCURRENT=3
|
|
|
|
# Host paths for job configs (runner containers need access)
|
|
# These directories will be created automatically by Docker
|
|
JOBS_HOST_DIR=/opt/letsbe-hub/jobs
|
|
LOGS_HOST_DIR=/opt/letsbe-hub/logs
|