-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
61 lines (61 loc) · 1.25 KB
/
docker-compose.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
version: "3.7"
services:
emu-app:
image: "psrok1/emu-strings:${TAG:-latest}"
build:
context: ./src
dockerfile: Dockerfile-app
links:
- mongo
- redis
environment:
STATIC_PATH: /app/build/static
ports:
- "64205:80"
volumes:
- type: volume
source: results
target: /app/results
emu-daemon:
image: "psrok1/emu-strings-daemon:${TAG:-latest}"
build:
context: ./src
dockerfile: Dockerfile-daemon
links:
- dind
- mongo
- redis
environment:
DOCKER_HOST: tcp://dind:2375
TAG: "${TAG:-latest}"
CONCURRENCY: "${CONCURRENCY:-4}"
ENABLE_BOXJS: "${ENABLE_BOXJS:-}"
volumes:
- type: bind
source: ./emulators/images
target: /app/images
- type: volume
source: results
target: /app/results
mongo:
image: mongo
volumes:
- type: volume
source: mongodb
target: /data/db
redis:
image: redis:alpine
dind:
image: docker:dind
privileged: true
environment:
DOCKER_TLS_CERTDIR: ""
volumes:
- type: volume
source: results
target: /app/results
- type: tmpfs
target: /var/lib/docker
volumes:
mongodb:
results: