fix: rename Twenty CRM containers to twenty-ch-* prefix to avoid conflicts
Existing Twenty instances on Netcup use twenty-server/twenty-db/twenty-redis names. Renamed to twenty-ch-server/twenty-ch-db/twenty-ch-redis for the commons-hub instance. Updated TWENTY_API_URL accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
07e53d6aa1
commit
588a52f2cc
|
|
@ -10,14 +10,14 @@
|
||||||
# POSTGRES_PASSWORD, APP_SECRET, ADMIN_PASSWORD
|
# POSTGRES_PASSWORD, APP_SECRET, ADMIN_PASSWORD
|
||||||
|
|
||||||
services:
|
services:
|
||||||
twenty-server:
|
twenty-ch-server:
|
||||||
image: twentycrm/twenty:latest
|
image: twentycrm/twenty:latest
|
||||||
container_name: twenty-server
|
container_name: twenty-ch-server
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
twenty-db:
|
twenty-ch-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
twenty-redis:
|
twenty-ch-redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
# ── Core ──
|
# ── Core ──
|
||||||
|
|
@ -26,9 +26,9 @@ services:
|
||||||
- FRONT_BASE_URL=https://crm.rspace.online
|
- FRONT_BASE_URL=https://crm.rspace.online
|
||||||
- PORT=3000
|
- PORT=3000
|
||||||
# ── Database ──
|
# ── Database ──
|
||||||
- PG_DATABASE_URL=postgres://twenty:${POSTGRES_PASSWORD}@twenty-db:5432/twenty
|
- PG_DATABASE_URL=postgres://twenty:${POSTGRES_PASSWORD}@twenty-ch-db:5432/twenty
|
||||||
# ── Redis ──
|
# ── Redis ──
|
||||||
- REDIS_URL=redis://twenty-redis:6379
|
- REDIS_URL=redis://twenty-ch-redis:6379
|
||||||
# ── Auth ──
|
# ── Auth ──
|
||||||
- APP_SECRET=${APP_SECRET}
|
- APP_SECRET=${APP_SECRET}
|
||||||
- ACCESS_TOKEN_SECRET=${APP_SECRET}
|
- ACCESS_TOKEN_SECRET=${APP_SECRET}
|
||||||
|
|
@ -43,7 +43,7 @@ services:
|
||||||
- IS_BILLING_ENABLED=false
|
- IS_BILLING_ENABLED=false
|
||||||
- TELEMETRY_ENABLED=false
|
- TELEMETRY_ENABLED=false
|
||||||
volumes:
|
volumes:
|
||||||
- twenty-server-data:/app/.local-storage
|
- twenty-ch-server-data:/app/.local-storage
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.twenty-crm.rule=Host(`crm.rspace.online`)"
|
- "traefik.http.routers.twenty-crm.rule=Host(`crm.rspace.online`)"
|
||||||
|
|
@ -62,20 +62,20 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 60s
|
start_period: 60s
|
||||||
|
|
||||||
twenty-worker:
|
twenty-ch-worker:
|
||||||
image: twentycrm/twenty:latest
|
image: twentycrm/twenty:latest
|
||||||
container_name: twenty-worker
|
container_name: twenty-ch-worker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: ["yarn", "worker:prod"]
|
command: ["yarn", "worker:prod"]
|
||||||
depends_on:
|
depends_on:
|
||||||
twenty-db:
|
twenty-ch-db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
twenty-redis:
|
twenty-ch-redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PG_DATABASE_URL=postgres://twenty:${POSTGRES_PASSWORD}@twenty-db:5432/twenty
|
- PG_DATABASE_URL=postgres://twenty:${POSTGRES_PASSWORD}@twenty-ch-db:5432/twenty
|
||||||
- REDIS_URL=redis://twenty-redis:6379
|
- REDIS_URL=redis://twenty-ch-redis:6379
|
||||||
- APP_SECRET=${APP_SECRET}
|
- APP_SECRET=${APP_SECRET}
|
||||||
- ACCESS_TOKEN_SECRET=${APP_SECRET}
|
- ACCESS_TOKEN_SECRET=${APP_SECRET}
|
||||||
- LOGIN_TOKEN_SECRET=${APP_SECRET}
|
- LOGIN_TOKEN_SECRET=${APP_SECRET}
|
||||||
|
|
@ -86,20 +86,20 @@ services:
|
||||||
- SERVER_URL=https://crm.rspace.online
|
- SERVER_URL=https://crm.rspace.online
|
||||||
- TELEMETRY_ENABLED=false
|
- TELEMETRY_ENABLED=false
|
||||||
volumes:
|
volumes:
|
||||||
- twenty-server-data:/app/.local-storage
|
- twenty-ch-server-data:/app/.local-storage
|
||||||
networks:
|
networks:
|
||||||
- twenty-internal
|
- twenty-internal
|
||||||
|
|
||||||
twenty-db:
|
twenty-ch-db:
|
||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
container_name: twenty-db
|
container_name: twenty-ch-db
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_DB=twenty
|
- POSTGRES_DB=twenty
|
||||||
- POSTGRES_USER=twenty
|
- POSTGRES_USER=twenty
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- twenty-pgdata:/var/lib/postgresql/data
|
- twenty-ch-pgdata:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- twenty-internal
|
- twenty-internal
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -109,12 +109,12 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|
||||||
twenty-redis:
|
twenty-ch-redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
container_name: twenty-redis
|
container_name: twenty-ch-redis
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- twenty-redis-data:/data
|
- twenty-ch-redis-data:/data
|
||||||
networks:
|
networks:
|
||||||
- twenty-internal
|
- twenty-internal
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -124,9 +124,9 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
twenty-server-data:
|
twenty-ch-server-data:
|
||||||
twenty-pgdata:
|
twenty-ch-pgdata:
|
||||||
twenty-redis-data:
|
twenty-ch-redis-data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
traefik-public:
|
traefik-public:
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ services:
|
||||||
- IMAP_HOST=mail.rmail.online
|
- IMAP_HOST=mail.rmail.online
|
||||||
- IMAP_PORT=993
|
- IMAP_PORT=993
|
||||||
- IMAP_TLS_REJECT_UNAUTHORIZED=false
|
- IMAP_TLS_REJECT_UNAUTHORIZED=false
|
||||||
- TWENTY_API_URL=http://twenty-server:3000
|
- TWENTY_API_URL=http://twenty-ch-server:3000
|
||||||
- OLLAMA_URL=http://ollama:11434
|
- OLLAMA_URL=http://ollama:11434
|
||||||
- INFISICAL_AI_CLIENT_ID=${INFISICAL_AI_CLIENT_ID}
|
- INFISICAL_AI_CLIENT_ID=${INFISICAL_AI_CLIENT_ID}
|
||||||
- INFISICAL_AI_CLIENT_SECRET=${INFISICAL_AI_CLIENT_SECRET}
|
- INFISICAL_AI_CLIENT_SECRET=${INFISICAL_AI_CLIENT_SECRET}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue