forked from activepieces/activepieces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
71 lines (65 loc) · 1.22 KB
/
docker-compose.dev.yml
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
64
65
66
67
68
69
70
71
version: '3.0'
services:
backend:
image: activepieces/ap-base:3
environment:
AP_JWT_SECRET: super-secret
AP_POSTGRES_HOST: postgres
AP_REDIS_HOST: redis
privileged: true
ports:
- "3000:3000"
- "9229:9229"
networks:
- activepieces_dev
volumes:
- ./:/usr/src/app
working_dir: /usr/src/app
entrypoint:
- npx
- nx
- serve
- backend
depends_on:
- postgres
- redis
frontend:
image: activepieces/ap-base:3
ports:
- "4200:4200"
- "9222:9222"
networks:
- activepieces_dev
volumes:
- ./:/usr/src/app
working_dir: /usr/src/app
entrypoint:
- npx
- nx
- serve
- frontend
depends_on:
- backend
postgres:
image: postgres:14.4
ports:
- "5432:5432"
environment:
POSTGRES_DB: activepieces
POSTGRES_USER: postgres
POSTGRES_PASSWORD: A79Vm5D4p2VQHOp2gd5
volumes:
- postgres_data_dev:/var/lib/postgresql/data
networks:
- activepieces_dev
redis:
image: redis:7.0.7
volumes:
- redis_data_dev:/data
networks:
- activepieces_dev
volumes:
postgres_data_dev:
redis_data_dev:
networks:
activepieces_dev: