2022-01-17 07:08:17 +00:00
|
|
|
version: "3"
|
2021-04-29 09:59:25 +00:00
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
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-01-17 12:08:44 +00:00
|
|
|
- ./plugins/:/app/plugins
|
|
|
|
|
- /app/plugins/dist/
|
|
|
|
|
- /app/plugins/node_modules/
|
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-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:
|
|
|
|
|
- postgres
|
2021-07-23 14:16:01 +00:00
|
|
|
volumes:
|
2022-01-17 07:08:17 +00:00
|
|
|
- ./server:/app/server:delegated
|
2022-01-17 12:08:44 +00:00
|
|
|
- ./plugins/:/app/plugins
|
|
|
|
|
- /app/plugins/dist/
|
|
|
|
|
- /app/plugins/node_modules/
|
2022-01-17 07:08:17 +00:00
|
|
|
- /app/server/node_modules/
|
2022-01-24 05:54:58 +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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
postgres:
|