- Updated the SSL certificate for yuri.phx-erp.de with a new signed certificate. - Added a new NGINX configuration file for pgAdmin reverse proxy under the subpath /pgadmin4. - Enhanced the main NGINX configuration with improved logging, security headers, and real IP handling. - Implemented health check endpoints for both system and worker services with IP whitelisting. - Created a new entrypoint script for pgAdmin to manage .pgpass and servers.json configuration. - Removed the redis.conf file and commented out Redis session caching in the configuration.
41 lines
1.4 KiB
Bash
41 lines
1.4 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"
|
|
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'
|