-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 818 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 818 Bytes
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
version: '3'
services:
web:
image: node:12
command: ["npx", "ts-node", "/app/index.ts"]
ports:
- "3500:3500"
volumes:
- .:/app
environment:
DEBUG: sched,push-notify,jobs:all-runs,api:*
network_mode: host
working_dir: /app
depends_on:
- redis
- mongo
redis:
image: "redis:5"
volumes:
- /var/lib/sr-browser/redis:/data
network_mode: host
deploy:
restart_policy:
condition: always
delay: 5s
max_attempts: 10
window: 120s
mongo:
image: "mongo:4.0.9-xenial"
command: --wiredTigerCacheSizeGB 0.5
volumes:
- /var/lib/sr-browser/mongo:/data/db
network_mode: host
deploy:
restart_policy:
condition: always
delay: 5s
max_attempts: 10
window: 120s