twenty/packages/twenty-docker/dev/docker-compose.yml

40 lines
1.2 KiB
YAML
Raw Normal View History

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: ../../..
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:
- ../../../packages/twenty-front:/app/packages/twenty-front
- ../../../packages/twenty-server:/app/packages/twenty-server
- ../../../packages/eslint-plugin-twenty:/app/packages/eslint-plugin-twenty
- 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:
container_name: twenty_postgres
image: twentycrm/twenty-postgres:latest
2022-12-28 23:19:12 +03:00
volumes:
- twenty_db_data:/var/lib/postgresql/data
2022-12-28 23:19:12 +03:00
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
feat: dynamic graphQL schema generation based on user workspace (#1725) * wip: refacto and start creating custom resolver * feat: findMany & findUnique of a custom entity * feat: wip pagination * feat: initial metadata migration * feat: universal findAll with pagination * fix: clean small stuff in pagination * fix: test * fix: miss file * feat: rename custom into universal * feat: create metadata schema in default database * Multi-tenant db schemas POC fix tests and use query builders remove synchronize restore updatedAt remove unnecessary import use queryRunner fix camelcase add migrations for standard objects Multi-tenant db schemas POC fix tests and use query builders remove synchronize restore updatedAt remove unnecessary import use queryRunner fix camelcase add migrations for standard objects poc: conditional schema at runtime wip: try to create resolver in Nest.JS context fix * feat: wip add pg_graphql * feat: setup pg_graphql during database init * wip: dynamic resolver * poc: dynamic resolver and query using pg_graphql * feat: pg_graphql use ARG in Dockerfile * feat: clean findMany & findOne dynamic resolver * feat: get correct schema based on access token * fix: remove old file * fix: tests * fix: better comment * fix: e2e test not working, error format change due to yoga * remove typeorm entity generation + fix jwt + fix search_path + remove anon * fix conflict --------- Co-authored-by: Charles Bochet <charles@twenty.com> Co-authored-by: corentin <corentin@twenty.com>
2023-09-28 17:27:34 +03:00
- POSTGRES_DB=default
2022-12-28 23:19:12 +03:00
ports:
- "5432:5432"
volumes:
twenty_db_data:
name: twenty_db_data
twenty_dev_node_modules_root:
twenty_dev_node_modules_yarn:
twenty_dev_node_modules_front:
twenty_dev_node_modules_server:
twenty_dev_node_modules_docs: