Files
metabuilder/deployment/.env.example
johndoe6345789 9e892dcd74 refactor(deployment): remove 10 redundant shell scripts replaced by Python CLI
All deployment commands now go through deployment.py. Deleted:
build-base-images.sh, build-apps.sh, build-testcontainers.sh, deploy.sh,
start-stack.sh, release.sh, nexus-ci-init.sh, push-to-nexus.sh,
populate-nexus.sh, publish-npm-patches.sh.

Kept nexus-init.sh and artifactory-init.sh (Docker container entrypoints).
Updated all references in CLAUDE.md, README.md, AGENTS.md, ROADMAP.md,
deployment docs, Dockerfiles, and docker-compose comments.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 01:19:32 +00:00

82 lines
3.1 KiB
Plaintext

# MetaBuilder Stack Environment
# Copy to .env and customize values
#
# Usage:
# cp .env.example .env
# # Edit values as needed
# python3 deployment.py stack up
#
# All values below are defaults. Only override what you need to change.
# ============================================================================
# Core - PostgreSQL (primary database)
# ============================================================================
POSTGRES_USER=metabuilder
POSTGRES_PASSWORD=metabuilder
POSTGRES_DB=metabuilder
# ============================================================================
# Core - MySQL (alternative SQL database)
# ============================================================================
MYSQL_ROOT_PASSWORD=metabuilder
MYSQL_USER=metabuilder
MYSQL_PASSWORD=metabuilder
MYSQL_DATABASE=metabuilder
# ============================================================================
# Core - MongoDB (document database)
# ============================================================================
MONGO_USER=metabuilder
MONGO_PASSWORD=metabuilder
MONGO_DB=metabuilder
# ============================================================================
# DBAL - C++ Database Abstraction Layer
# ============================================================================
# Primary adapter: postgres, mysql, sqlite, mongodb, memory, etc.
# DBAL_ADAPTER=postgres
#
# Override connection URLs (defaults use the credentials above):
# DATABASE_URL=postgresql://metabuilder:metabuilder@postgres:5432/metabuilder
# DBAL_CACHE_URL=redis://redis:6379/0?ttl=300&pattern=read-through
# DBAL_SEARCH_URL=http://elasticsearch:9200?index=metabuilder&refresh=true
# DBAL_MYSQL_URL=mysql://metabuilder:metabuilder@mysql:3306/metabuilder
# DBAL_MONGODB_URL=mongodb://metabuilder:metabuilder@mongodb:27017/metabuilder?authSource=admin
#
# Connection pool:
# DBAL_POOL_MIN_SIZE=2
# DBAL_POOL_MAX_SIZE=10
# DBAL_POOL_IDLE_TIMEOUT_SECONDS=300
#
# Logging:
# DBAL_LOG_LEVEL=trace
# DBAL_LOG_FORMAT=json
#
# Security:
# DBAL_ADMIN_TOKEN=069e6487a710300381cd52120eab95d56d7f53beee21479cbeba9128217cbea9
# DBAL_CORS_ORIGIN=http://localhost:3000 # Allowed CORS origin
# ============================================================================
# Monitoring - Grafana (--monitoring profile)
# ============================================================================
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=admin
# ============================================================================
# Media - Icecast (--media profile)
# ============================================================================
ICECAST_PASSWORD=hackme
ICECAST_ADMIN_PASSWORD=hackme
ICECAST_HOSTNAME=localhost
# ============================================================================
# Media - DBAL API Key (--media profile, for media daemon)
# ============================================================================
DBAL_API_KEY=
# ============================================================================
# BuildKit (auto-enabled for Docker builds)
# ============================================================================
DOCKER_BUILDKIT=1
COMPOSE_DOCKER_CLI_BUILD=1