Give worker access to server volume (#11065)

This commit is contained in:
martmull
2025-03-20 16:43:38 +01:00
committed by GitHub
parent 7dac60cfee
commit 6d8cf442a7
2 changed files with 8 additions and 6 deletions

View File

@ -70,6 +70,8 @@ services:
worker:
image: twentycrm/twenty:${TAG:-latest}
volumes:
- server-local-data:/app/packages/twenty-server/${STORAGE_LOCAL_PATH:-.local-storage}
command: ["yarn", "worker:prod"]
environment:
PG_DATABASE_URL: postgres://${PG_DATABASE_USER:-postgres}:${PG_DATABASE_PASSWORD:-postgres}@${PG_DATABASE_HOST:-db}:${PG_DATABASE_PORT:-5432}/default