-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.test.yml
67 lines (62 loc) · 1.81 KB
/
docker-compose.test.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
version: "3.6"
services:
db:
image: mariadb
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD_FILE: /secret/password
volumes:
- ./mysql/init:/docker-entrypoint-initdb.d
- ./mysql/password:/secret/password
#disabling the following mount points, in order to MariaDB container with non-persistent writes
#- ./mysql/conf.d/my-noencrypt.cnf:/etc/mysql/conf.d/my.cnf
#- ./mysql/data:/var/lib/mysql
#- ./mysql/conf.d:/etc/mysql/conf.d
#- ./mysql/key:/key
api_sails:
image: skipdaddy/install-ab:developer_v2
deploy:
replicas: 1
restart_policy:
condition: on-failure
ports:
- "1337:1337"
- "9229:9229"
environment:
- COTE_DISCOVERY_REDIS_HOST=redis
volumes:
- ./app:/app
- ./config/local.js:/app/config/local.js
- ./data:/app/data
- ./developer/app_builder:/app/node_modules/app_builder
- ./developer/appdev-core:/app/node_modules/appdev-core
- ./developer/appdev-opsportal:/app/node_modules/appdev-opsportal
command: ["node", "--inspect", "--max-old-space-size=2048", "--stack-size=2048", "app_waitForMySql.js"]
redis:
image: redis
volumes:
- ./redis/data:/data
command: redis-server --appendonly yes
notification_email:
image: node
environment:
- COTE_DISCOVERY_REDIS_HOST=redis
volumes:
- ./developer/notification_email:/app
- ./config/local.js:/app/config/local.js
depends_on:
- redis
working_dir: /app
command: [ "node", "app.js" ]
process_manager:
image: node
environment:
- COTE_DISCOVERY_REDIS_HOST=redis
volumes:
- ./developer/process_manager:/app
- ./config/local.js:/app/config/local.js
depends_on:
- redis
working_dir: /app
command: [ "node", "app.js" ]