- Added new environment variables for connection pooling in the .env file. - Updated Docker Compose to ensure consistent naming conventions for containers and added health checks. - Increased timeout settings in NGINX configuration for file uploads. - Improved pgAdmin reverse proxy configuration to handle path rewrites. - Added migration SQL file and updated helper documentation for database operations.
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
# ===== Enviroment Stage ======
|
|
NODE_ENV=production
|
|
# ====== Database Configuration ======
|
|
POSTGRES_PASSWORD=6MaBQd9ICYeZnCb
|
|
PGADMIN_DEFAULT_PASSWORD=bET23d76xKArCqf
|
|
DB_NAME="phoenix"
|
|
DB_HOST="phoenixDB"
|
|
DB_PORT=5432
|
|
DB_USERNAME="postgres"
|
|
PHX_SYSTEM_CONNECTION_POOL_MAX=5
|
|
PHX_WORKER_CONNECTION_POOL_MAX=2
|
|
# ===== PGADMIN CONFIGURATION =====
|
|
PGADMIN_DEFAULT_EMAIL="info@phx-erp.de"
|
|
PGADMIN_DEFAULT_EMAIL="info@phx-erp.de"
|
|
MAIL_SERVER="mail.phx-erp.de"
|
|
MAIL_PORT=465
|
|
MAIL_USERNAME="internal@phx-erp.de "
|
|
MAIL_PASSWORD="8Kb2p4!o1"
|
|
SECURITY_EMAIL_SENDER="'No Reply PHX <no-reply@phx-erp.de>'"
|
|
# ====== Phoenix Super Admin Configuration ======
|
|
SUPER_ADMIN_USER_PASSWORD=zrRzSW5pC4cWwroX976oXcGQU
|
|
# ====== Redis Configuration ======
|
|
REDIS_PASSWORD=sBCuVsJkKTSErgF
|
|
# ====== Worker Configuration ======
|
|
RUN_JOB_QUEUE=1
|
|
# ===== Metris Configuration ======
|
|
# Loki API URL -> The IP 5.75.153.161 is the Grafana Server where it has a firewall rule to allow the connection. Please, if you change here, need to be change in NGINX too.
|
|
LOKI_URL=http://grafana.phx-erp.de:3100/loki/api/v1/push
|
|
LOKI_RETRIES=5
|
|
LOKI_BATCH_SIZE=500
|
|
# ===== HTTPS-PORTAL Configuration ======
|
|
HTTPS_PORTAL_DOMAINS='yuri.phx-erp.de -> phoenix-app'
|
|
# ====== PHX-SYSTEM Configuration ======
|
|
PHOENIX_SYSTEM_REPLICAS=1
|
|
# ======= GraphQl =============
|
|
GRAPHQL_DEBUG='true'
|
|
GRAPHQL_TRACING='true'
|
|
# ======= Integrations =============
|
|
# Bill Bee
|
|
BILL_BEE_ACTIVE='true'
|
|
# Channel Pilot Pro
|
|
CHANNEL_PILOT_PRO_ACTIVE='true'
|
|
# Shopify
|
|
SHOPIFY_ACTIVE='true'
|
|
PHX_HOST_NAME='yuri.phx-erp.de'
|