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
|
2024-07-08 07:41:29 +00:00
|
|
|
container_name: plugins
|
2022-01-27 09:38:32 +00:00
|
|
|
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
|
2024-07-08 07:41:29 +00:00
|
|
|
container_name: client
|
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
|
2024-07-08 07:41:29 +00:00
|
|
|
container_name: server
|
2022-01-17 07:08:17 +00:00
|
|
|
platform: linux/x86_64
|
2021-04-29 09:59:25 +00:00
|
|
|
depends_on:
|
2024-07-08 07:41:29 +00:00
|
|
|
- postgres
|
2025-09-15 19:08:42 +00:00
|
|
|
env_file:
|
|
|
|
|
- .env
|
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-07-08 07:41:29 +00:00
|
|
|
container_name: postgrest
|
2024-03-05 07:28:28 +00:00
|
|
|
image: postgrest/postgrest:v12.0.2
|
2022-12-26 21:31:06 +00:00
|
|
|
ports:
|
2025-09-15 19:08:42 +00:00
|
|
|
- "3002:3002"
|
2022-12-26 21:31:06 +00:00
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
depends_on:
|
2024-07-08 07:41:29 +00:00
|
|
|
- postgres
|
2022-12-26 21:31:06 +00:00
|
|
|
|
2021-04-29 09:59:25 +00:00
|
|
|
postgres:
|
2024-07-08 08:27:01 +00:00
|
|
|
container_name: ${PG_HOST}
|
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
|
2024-07-08 07:41:29 +00:00
|
|
|
env_file: .env
|
2021-04-29 09:59:25 +00:00
|
|
|
environment:
|
2024-07-08 07:41:29 +00:00
|
|
|
- POSTGRES_USER=${PG_USER}
|
|
|
|
|
- POSTGRES_PASSWORD=${PG_PASS}
|
2021-04-29 09:59:25 +00:00
|
|
|
|
2026-02-16 14:26:11 +00:00
|
|
|
redis:
|
|
|
|
|
container_name: redis
|
|
|
|
|
image: redis:6.2
|
|
|
|
|
restart: always
|
|
|
|
|
deploy:
|
|
|
|
|
resources:
|
|
|
|
|
limits:
|
|
|
|
|
cpus: '0.5'
|
|
|
|
|
memory: 1G
|
|
|
|
|
env_file:
|
|
|
|
|
- .env
|
|
|
|
|
environment:
|
|
|
|
|
- MASTER=redis
|
|
|
|
|
- REDIS_USER=${REDIS_USER}
|
|
|
|
|
- REDIS_PASSWORD=${REDIS_PASSWORD}
|
|
|
|
|
|
2021-04-29 09:59:25 +00:00
|
|
|
volumes:
|
|
|
|
|
postgres:
|
2026-02-16 14:26:11 +00:00
|
|
|
redis:
|