-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
66 lines (64 loc) · 1.48 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
62
63
64
65
66
version: '3.1'
services:
discovery:
build:
context: .
depends_on:
- db
- wiremock
- redis
ports:
- 8080:8080
environment:
- MYSTERIUM_LOG_MODE=json
- PORT=8080
- QUALITY_ORACLE_URL=https://quality.mysterium.network
- QUALITY_CACHE_TTL=20s
- BROKER_URL=nats://broker.mysterium.network
- UNIVERSE_JWT_SECRET=suchsecret
- REDIS_ADDRESS=redis:6379
restart: always
discosidecar:
build:
context: .
dockerfile: sidecar/Dockerfile
ports:
- 8888:8080
depends_on:
- wiremock
- redis
environment:
- MYSTERIUM_LOG_MODE=json
- QUALITY_ORACLE_URL=https://quality.mysterium.network
- BROKER_URL=nats://broker.mysterium.network
- REDIS_ADDRESS=redis:6379
- GECKO_URL=http://wiremock:8080
- COINRANKING_URL=http://wiremock:8080
- COINRANKING_TOKEN=suchtoken
db:
image: postgres:13-alpine
container_name: discovery_db
ports:
- 5432:5432
environment:
- POSTGRES_USER=discovery
- POSTGRES_DB=discovery
- POSTGRES_PASSWORD=discovery
wiremock:
image: rodolpheche/wiremock:2.27.2-alpine
command: --global-response-templating
ports:
- "8004:8080"
volumes:
- ./e2e/wiremock/mappings:/home/wiremock/mappings
redis:
image: "redis:alpine"
ports:
- 6379:6379
dev:
image: tianon/true
restart: "no"
depends_on:
- db
- wiremock
- redis