Fix: Add node_modules volume for Prisma
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
|||||||
container_name: postgres
|
container_name: postgres
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
environment:
|
environment:
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
container_name: gitea
|
container_name: gitea
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra
|
||||||
ports:
|
ports:
|
||||||
- "3001:3000"
|
- "3001:3000"
|
||||||
- "2221:22"
|
- "2221:22"
|
||||||
@@ -86,6 +86,7 @@ services:
|
|||||||
- /opt/xflow/.output:/app/.output
|
- /opt/xflow/.output:/app/.output
|
||||||
- /opt/xflow/prisma:/app/prisma:ro
|
- /opt/xflow/prisma:/app/prisma:ro
|
||||||
- /opt/xflow/prisma.config.ts:/app/prisma.config.ts:ro
|
- /opt/xflow/prisma.config.ts:/app/prisma.config.ts:ro
|
||||||
|
- /opt/xflow/node_modules:/app/node_modules:ro
|
||||||
networks:
|
networks:
|
||||||
infra:
|
infra:
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user