forked from activepieces/activepieces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
79 lines (74 loc) · 1.89 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
72
73
74
75
76
77
78
79
## **************** DOCUMENTATION ****************
##
## Please refer to the documentation for more information on how to use this file.
## https://www.activepieces.com/docs/contributing/development-setup/docker-compose
##
## ***********************************************
version: '3.0'
services:
app:
image: activepieces/ap-base:11
container_name: ap
environment:
AP_CACHE_PATH: /usr/src/cache
AP_PACKAGE_ARCHIVE_PATH: /usr/src/packages
AP_DB_TYPE: POSTGRES
AP_EDITION: cloud
AP_LICENSE_KEY: 1234567890
AP_ENVIRONMENT: dev
AP_ENCRYPTION_KEY: 7e19fad4c13eaea8f657afb12e8f9c40
AP_EXECUTION_MODE: SANDBOXED
AP_JWT_SECRET: super-secret
AP_POSTGRES_DATABASE: activepieces
AP_POSTGRES_HOST: postgres
AP_POSTGRES_PASSWORD: postgres
AP_POSTGRES_PORT: 5432
AP_POSTGRES_USERNAME: postgres
AP_QUEUE_MODE: REDIS
AP_REDIS_HOST: redis
AP_REDIS_PORT: 6379
AP_SIGN_UP_ENABLED: true
ports:
- "3000:3000"
- "4200:4200"
- "9229:9229"
networks:
- activepieces_dev
volumes:
- ./:/usr/src/app
working_dir: /usr/src/app
entrypoint:
- npm
- run
- dev:backend
depends_on:
- postgres
- redis
postgres:
image: postgres:14.4
ports:
- "5432:5432"
container_name: pg
environment:
POSTGRES_DB: activepieces
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgres_data_dev:/var/lib/postgresql/data
networks:
- activepieces_dev
#command: -c log_statement=all -c shared_preload_libraries=auto_explain -c auto_explain.log_min_duration=0
redis:
image: redis:7.0.7
container_name: rd
ports:
- "6379:6379"
volumes:
- redis_data_dev:/data
networks:
- activepieces_dev
volumes:
postgres_data_dev:
redis_data_dev:
networks:
activepieces_dev: