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:
|
|
|
|
context: ../..
|
2023-05-25 16:56:28 +03:00
|
|
|
dockerfile: ./infra/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-05-25 17:58:33 +03:00
|
|
|
- ../..:/app
|
2023-10-02 12:59:06 +03:00
|
|
|
- /app/front/node_modules
|
|
|
|
- /app/server/node_modules
|
2023-01-27 14:12:04 +03:00
|
|
|
depends_on:
|
|
|
|
- postgres
|
2023-04-25 18:47:15 +03:00
|
|
|
twenty-docs:
|
|
|
|
build:
|
|
|
|
context: ../..
|
2023-05-25 16:56:28 +03:00
|
|
|
dockerfile: ./infra/dev/twenty-docs/Dockerfile
|
2023-04-25 18:47:15 +03:00
|
|
|
ports:
|
2023-05-25 17:58:33 +03:00
|
|
|
- "5001:5001"
|
2023-04-25 18:47:15 +03:00
|
|
|
volumes:
|
|
|
|
- ../../docs:/app/docs
|
|
|
|
- twenty_node_modules_docs:/app/docs/node_modules
|
2022-12-28 23:19:12 +03:00
|
|
|
postgres:
|
2023-10-13 16:57:01 +03:00
|
|
|
container_name: twenty_postgres
|
2022-12-28 23:19:12 +03:00
|
|
|
build: ./postgres
|
|
|
|
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-09-28 17:27:34 +03:00
|
|
|
- POSTGRES_USER=twenty
|
|
|
|
- POSTGRES_PASSWORD=twenty
|
|
|
|
- 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-04-05 16:01:20 +03:00
|
|
|
twenty_node_modules_front:
|
2023-04-25 18:47:15 +03:00
|
|
|
twenty_node_modules_server:
|
|
|
|
twenty_node_modules_docs:
|