27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
# Copy to .env next to docker-compose*.yml. Never commit .env.
|
|
# Dev server: ~/docker/buyingagent-dev/.env
|
|
# Prod server: ~/docker/buyingagent/.env
|
|
|
|
# ─── local / production (docker-compose.yml) ────────────────────────────────
|
|
DB_NAME=buyingagent
|
|
DB_USER=buyingagent
|
|
DB_PASSWORD=change_me
|
|
ENVIRONMENT=production
|
|
ENGINE_BUILD=dev
|
|
BUYING_AGENT_API_BIND=127.0.0.1
|
|
BUYING_AGENT_API_PORT=8000
|
|
BUYING_AGENT_FRONTEND_BIND=127.0.0.1
|
|
BUYING_AGENT_FRONTEND_PORT=4173
|
|
CORS_ALLOWED_ORIGINS=http://localhost:4173,http://127.0.0.1:4173,http://localhost:5173,http://127.0.0.1:5173
|
|
|
|
# Production on the Raspberry Pi (192.168.2.49):
|
|
# BUYING_AGENT_API_BIND=0.0.0.0
|
|
# BUYING_AGENT_API_PORT=8006
|
|
|
|
# ─── development server (docker-compose.dev-env.yml) ────────────────────────
|
|
# DB_NAME=buyingagent_dev
|
|
# DB_USER=buyingagent_dev
|
|
# DB_PASSWORD=dev_password_change_me
|
|
# ENVIRONMENT=development
|
|
# BUYING_AGENT_API_PORT=8095
|