forked from ToolJet/ToolJet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
63 lines (58 loc) · 1.38 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: "3"
services:
plugins:
build:
context: ./
dockerfile: ./docker/plugins.Dockerfile.dev
image: tooljet-plugins:development
platform: linux/x86_64
volumes:
- ./plugins:/app/plugins
command: npm run --prefix plugins start
client:
build:
context: ./
dockerfile: ./docker/client.Dockerfile.dev
image: tooljet-client:development
platform: linux/x86_64
volumes:
- ./frontend:/app/frontend:delegated
- ./plugins:/app/plugins
- /app/frontend/node_modules/
ports:
- 8082:8082
environment:
- WEBPACKER_DEV_SERVER_HOST=0.0.0.0
- NODE_ENV=development
command: npm run --prefix frontend start
server:
build:
context: ./
dockerfile: ./docker/server.Dockerfile.dev
image: tooljet-server:development
platform: linux/x86_64
depends_on:
- postgres
volumes:
- ./server:/app/server:delegated
- ./plugins:/app/plugins
- /app/server/node_modules/
- ./.env:/app/.env
- ./.env.test:/app/.env.test
ports:
- 3000:3000
environment:
- SERVE_CLIENT=false
- FORCE_COLOR=1
command: npm run --prefix server start:dev
postgres:
image: postgres:13
restart: always
ports:
- 5432:5432
volumes:
- postgres:/data/postgres
environment:
- POSTGRES_PASSWORD=postgres
volumes:
postgres: