2022-12-28 23:19:12 +03:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
2023-05-25 16:56:28 +03:00
|
|
|
twenty-dev:
|
2023-01-27 14:12:04 +03:00
|
|
|
build:
|
2023-12-11 12:54:57 +03:00
|
|
|
context: ../../..
|
|
|
|
dockerfile: ./packages/twenty-docker/dev/twenty-dev/Dockerfile
|
2023-01-27 14:12:04 +03:00
|
|
|
ports:
|
2023-05-25 16:56:28 +03:00
|
|
|
- "3000:3000"
|
2023-01-27 14:12:04 +03:00
|
|
|
- "3001:3001"
|
|
|
|
- "6006:6006"
|
|
|
|
volumes:
|
2023-12-11 12:54:57 +03:00
|
|
|
- ../../../packages/twenty-front:/app/packages/twenty-front
|
|
|
|
- ../../../packages/twenty-server:/app/packages/twenty-server
|
2023-12-11 15:36:24 +03:00
|
|
|
- ../../../packages/eslint-plugin-twenty:/app/packages/eslint-plugin-twenty
|
2023-12-11 12:54:57 +03:00
|
|
|
- twenty_dev_node_modules_root:/app/node_modules
|
|
|
|
- twenty_dev_node_modules_yarn:/app/.yarn
|
|
|
|
- twenty_dev_node_modules_front:/app/packages/twenty-front/node_modules
|
|
|
|
- twenty_dev_node_modules_server:/app/packages/twenty-server/node_modules
|
2023-01-27 14:12:04 +03:00
|
|
|
depends_on:
|
|
|
|
- postgres
|
2022-12-28 23:19:12 +03:00
|
|
|
postgres:
|
2023-10-13 16:57:01 +03:00
|
|
|
container_name: twenty_postgres
|
2023-12-13 00:38:40 +03:00
|
|
|
image: twentycrm/twenty-postgres:latest
|
2022-12-28 23:19:12 +03:00
|
|
|
volumes:
|
2023-10-13 16:57:01 +03:00
|
|
|
- twenty_db_data:/var/lib/postgresql/data
|
2022-12-28 23:19:12 +03:00
|
|
|
environment:
|
2023-12-13 00:38:40 +03:00
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
2023-09-28 17:27:34 +03:00
|
|
|
- POSTGRES_DB=default
|
2022-12-28 23:19:12 +03:00
|
|
|
ports:
|
|
|
|
- "5432:5432"
|
|
|
|
volumes:
|
2023-10-13 16:57:01 +03:00
|
|
|
twenty_db_data:
|
|
|
|
name: twenty_db_data
|
2023-12-11 12:54:57 +03:00
|
|
|
twenty_dev_node_modules_root:
|
|
|
|
twenty_dev_node_modules_yarn:
|
|
|
|
twenty_dev_node_modules_front:
|
|
|
|
twenty_dev_node_modules_server:
|
2023-12-13 00:38:40 +03:00
|
|
|
twenty_dev_node_modules_docs:
|