docs: replace environment-specific IPs with localhost
This commit is contained in:
+5
-5
@@ -4,9 +4,9 @@ name: crm-new
|
||||
# 与旧栈 crm/crm-ai-demo 完全隔离:独立 PG/Redis/端口/数据卷。
|
||||
#
|
||||
# 对外端口:
|
||||
# LibreDesk http://192.168.31.61:9000
|
||||
# Twenty http://192.168.31.61:3100
|
||||
# bridge http://192.168.31.61:4100
|
||||
# LibreDesk http://localhost:9000
|
||||
# Twenty http://localhost:3100
|
||||
# bridge http://localhost:4100
|
||||
# Postgres(宿主机) 127.0.0.1:5440
|
||||
# Redis(宿主机) 127.0.0.1:6390
|
||||
|
||||
@@ -81,7 +81,7 @@ services:
|
||||
environment:
|
||||
NODE_PORT: 3000
|
||||
PG_DATABASE_URL: postgres://${POSTGRES_USER:-crmnew}:${POSTGRES_PASSWORD}@postgres:5432/twenty
|
||||
SERVER_URL: ${TWENTY_SERVER_URL:-http://192.168.31.61:3100}
|
||||
SERVER_URL: ${TWENTY_SERVER_URL:-http://localhost:3100}
|
||||
REDIS_URL: redis://redis:6379/1
|
||||
DISABLE_DB_MIGRATIONS: "false"
|
||||
DISABLE_CRON_JOBS_REGISTRATION: "false"
|
||||
@@ -113,7 +113,7 @@ services:
|
||||
command: ["yarn", "worker:prod"]
|
||||
environment:
|
||||
PG_DATABASE_URL: postgres://${POSTGRES_USER:-crmnew}:${POSTGRES_PASSWORD}@postgres:5432/twenty
|
||||
SERVER_URL: ${TWENTY_SERVER_URL:-http://192.168.31.61:3100}
|
||||
SERVER_URL: ${TWENTY_SERVER_URL:-http://localhost:3100}
|
||||
REDIS_URL: redis://redis:6379/1
|
||||
DISABLE_DB_MIGRATIONS: "true"
|
||||
DISABLE_CRON_JOBS_REGISTRATION: "true"
|
||||
|
||||
Reference in New Issue
Block a user