2022-01-17 07:08:17 +00:00
|
|
|
version: "3"
|
2021-04-29 09:59:25 +00:00
|
|
|
|
|
|
|
|
services:
|
2022-01-27 09:38:32 +00:00
|
|
|
plugins:
|
|
|
|
|
build:
|
|
|
|
|
context: ./
|
|
|
|
|
dockerfile: ./docker/plugins.Dockerfile.dev
|
|
|
|
|
image: tooljet-plugins:development
|
|
|
|
|
platform: linux/x86_64
|
|
|
|
|
volumes:
|
2022-02-26 16:43:57 +00:00
|
|
|
- ./plugins:/app/plugins
|
2022-01-27 09:38:32 +00:00
|
|
|
command: npm run --prefix plugins start
|
|
|
|
|
|
2021-04-29 09:59:25 +00:00
|
|
|
client:
|
|
|
|
|
build:
|
2022-01-17 07:08:17 +00:00
|
|
|
context: ./
|
|
|
|
|
dockerfile: ./docker/client.Dockerfile.dev
|
2021-04-29 09:59:25 +00:00
|
|
|
image: tooljet-client:development
|
2022-01-17 07:08:17 +00:00
|
|
|
platform: linux/x86_64
|
2021-04-29 09:59:25 +00:00
|
|
|
volumes:
|
2022-01-17 07:08:17 +00:00
|
|
|
- ./frontend:/app/frontend:delegated
|
2022-02-26 16:43:57 +00:00
|
|
|
- ./plugins:/app/plugins
|
2022-01-17 07:08:17 +00:00
|
|
|
- /app/frontend/node_modules/
|
2021-04-29 09:59:25 +00:00
|
|
|
ports:
|
|
|
|
|
- 8082:8082
|
|
|
|
|
environment:
|
|
|
|
|
- WEBPACKER_DEV_SERVER_HOST=0.0.0.0
|
|
|
|
|
- NODE_ENV=development
|
2022-09-05 15:36:11 +00:00
|
|
|
- SERVE_CLIENT=false
|
2022-01-17 07:08:17 +00:00
|
|
|
command: npm run --prefix frontend start
|
2021-04-29 09:59:25 +00:00
|
|
|
|
|
|
|
|
server:
|
|
|
|
|
build:
|
2022-01-17 07:08:17 +00:00
|
|
|
context: ./
|
2021-06-14 09:57:19 +00:00
|
|
|
dockerfile: ./docker/server.Dockerfile.dev
|
2021-04-29 09:59:25 +00:00
|
|
|
image: tooljet-server:development
|
2022-01-17 07:08:17 +00:00
|
|
|
platform: linux/x86_64
|
2021-04-29 09:59:25 +00:00
|
|
|
depends_on:
|
2023-03-20 07:29:49 +00:00
|
|
|
postgres:
|
|
|
|
|
condition: service_healthy
|
2021-07-23 14:16:01 +00:00
|
|
|
volumes:
|
2022-01-17 07:08:17 +00:00
|
|
|
- ./server:/app/server:delegated
|
2022-02-26 16:43:57 +00:00
|
|
|
- ./plugins:/app/plugins
|
2022-01-17 07:08:17 +00:00
|
|
|
- /app/server/node_modules/
|
2022-01-27 09:38:32 +00:00
|
|
|
- ./.env:/app/.env
|
|
|
|
|
- ./.env.test:/app/.env.test
|
2021-04-29 09:59:25 +00:00
|
|
|
ports:
|
|
|
|
|
- 3000:3000
|
2021-08-20 03:55:34 +00:00
|
|
|
environment:
|
|
|
|
|
- SERVE_CLIENT=false
|
2021-08-25 16:43:18 +00:00
|
|
|
- FORCE_COLOR=1
|
2022-01-17 07:08:17 +00:00
|
|
|
command: npm run --prefix server start:dev
|
2021-04-29 09:59:25 +00:00
|
|
|
|
2022-12-26 21:31:06 +00:00
|
|
|
postgrest:
|
2024-02-27 15:05:31 +00:00
|
|
|
image: postgrest/postgrest
|
2022-12-26 21:31:06 +00:00
|
|
|
ports:
|
|
|
|
|
- "3001:3000"
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
depends_on:
|
2023-03-20 07:29:49 +00:00
|
|
|
postgres:
|
|
|
|
|
condition: service_healthy
|
2022-12-26 21:31:06 +00:00
|
|
|
|
2021-04-29 09:59:25 +00:00
|
|
|
postgres:
|
2021-07-23 14:16:01 +00:00
|
|
|
image: postgres:13
|
2021-04-29 09:59:25 +00:00
|
|
|
restart: always
|
2021-07-23 14:16:01 +00:00
|
|
|
ports:
|
|
|
|
|
- 5432:5432
|
2021-04-29 09:59:25 +00:00
|
|
|
volumes:
|
|
|
|
|
- postgres:/data/postgres
|
|
|
|
|
environment:
|
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
2023-03-20 07:29:49 +00:00
|
|
|
healthcheck:
|
|
|
|
|
test: ["CMD-SHELL", "pg_isready"]
|
|
|
|
|
interval: 10s
|
|
|
|
|
timeout: 5s
|
|
|
|
|
retries: 5
|
2021-04-29 09:59:25 +00:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
postgres:
|