-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
65 lines (65 loc) · 1.64 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
version: "3.5"
services:
node:
# Do not set image field here, it will be set automatically by the sdk.
build:
context: .
args:
UPSTREAM_VERSION: >-
2.1.5@sha256:ba5acd2ef4d85b1b3cb5f3245e12c2d6877ca7f404af4a42429f1f362a666846
ports:
- "3001:3001/tcp"
- "9091:9091/tcp"
- "9091:9091/udp"
- "9092:9092/tcp"
- "9092:9092/udp"
- "9093:9093/tcp"
- "9093:9093/udp"
- "9094:9094/tcp"
- "9094:9094/udp"
- "9095:9095/tcp"
- "9095:9095/udp"
- "9096:9096/tcp"
- "9096:9096/udp"
- "9097:9097/tcp"
- "9097:9097/udp"
- "9098:9098/tcp"
- "9098:9098/udp"
- "9099:9099/tcp"
- "9099:9099/udp"
volumes:
- "db:/app/hoprd-db"
security_opt:
- "seccomp:unconfined"
environment:
RUST_LOG: info
HOPRD_CONFIGURATION_FILE_PATH: /app/hoprd.cfg.yaml
HOPRD_HOST: "127.0.0.1:9091"
HOPRD_SAFE_ADDRESS: 0x
HOPRD_MODULE_ADDRESS: 0x
HOPRD_HEARTBEAT_THRESHOLD: 60
HOPRD_HEARTBEAT_INTERVAL: 20
HOPRD_HEARTBEAT_VARIANCE: 1
HOPRD_PASSWORD: ""
HOPRD_PROVIDER: ""
restart: unless-stopped
deploy:
resources:
limits:
memory: 2G
admin:
# The actual image name will be set automatically by the sdk.
# This tag only serves to pull the correct image during build.
build:
context: ./hopr-admin
image: >-
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:2.1.10
ports:
- "3000:4677"
restart: unless-stopped
deploy:
resources:
limits:
memory: 256M
volumes:
db: {}