-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
42 lines (40 loc) · 893 Bytes
/
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
version: '3'
services:
nsqd:
image: nsqio/nsq
command: /nsqd
ports:
- "4150:4150"
- "4151"
backend:
cap_add:
- NET_ADMIN
hostname: backend
build:
context: backend/.
dockerfile: Dockerfile
ports:
- "${SERVE_PORT}:${SERVE_PORT}"
- "${ADB_PROXY}:${ADB_PROXY}"
environment:
- SERVE_PORT=${SERVE_PORT}
- CORELLIUM_URL=${CORELLIUM_URL}
- CORELLIUM_USERNAME=${CORELLIUM_USERNAME}
- CORELLIUM_PASSWORD=${CORELLIUM_PASSWORD}
- GIN_MODE=${GIN_MODE}
- ADB_PROXY=${ADB_PROXY}
- INSTANCE_ID=${INSTANCE_ID}
volumes:
- ./unpacker-data:/data
depends_on:
- nsqd
restart: always
unpacker-worker:
build:
context: unpacker-worker/.
dockerfile: Dockerfile
volumes:
- ./unpacker-data:/data
depends_on:
- backend
restart: always