Skip to content

Commit 90180b2

Browse files
Revert "Modify folders to be aligned with docker compose"
This reverts commit 5706a1f.
1 parent 5706a1f commit 90180b2

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ FROM europe-west3-docker.pkg.dev/hoprassociation/docker-images/hoprd:${UPSTREAM_
44
# not used at the moment, but might be useful in the future
55
ENV DAPPNODE=true
66

7-
ADD hoprd.cfg.yaml /app/hoprd/conf/hoprd.cfg.yaml
7+
ADD hoprd.cfg.yaml /app/hoprd.cfg.yaml

dappnode_package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,16 @@
105105
"license": "GLP-3.0",
106106
"backup": [
107107
{
108-
"name": "data",
109-
"path": "/app/hoprd/data"
108+
"name": "db",
109+
"path": "/app/hoprd-db/db"
110+
},
111+
{
112+
"name": "identity",
113+
"path": "/app/hoprd-db/.hopr-identity"
110114
},
111115
{
112116
"name": "config",
113-
"path": "/app/hoprd/conf"
117+
"path": "/app/hoprd.cfg.yaml"
114118
}
115119
],
116120
"globalEnvs": [

docker-compose.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,12 @@ services:
2929
- "10000-10100:10000-10100/tcp"
3030
- "10000-10100:10000-10100/udp"
3131
volumes:
32-
- "data:/app/hoprd/data"
33-
- "conf:/app/hoprd/conf"
32+
- "db:/app/hoprd-db"
3433
security_opt:
3534
- "seccomp:unconfined"
3635
environment:
3736
RUST_LOG: info
38-
HOPRD_CONFIGURATION_FILE_PATH: /app/hoprd/conf/hoprd.cfg.yaml
37+
HOPRD_CONFIGURATION_FILE_PATH: /app/hoprd.cfg.yaml
3938
HOPRD_HOST: "127.0.0.1:9191"
4039
HOPRD_SAFE_ADDRESS: 0x
4140
HOPRD_MODULE_ADDRESS: 0x
@@ -57,7 +56,7 @@ services:
5756
build:
5857
context: ./hopr-admin
5958
image: >-
60-
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:2.1.14
59+
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:2.1.6.1
6160
ports:
6261
- "3100:4677"
6362
restart: unless-stopped

hoprd.cfg.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
hopr:
33
db:
4-
data: /app/hoprd/data
4+
data: /app/hoprd-db/db
55
initialize: true
66
force_initialize: false
77
strategy:
@@ -39,12 +39,12 @@ hopr:
3939
check_unrealized_balance: true
4040
network: rotsee
4141
safe_module:
42-
safe_transaction_service_provider: https://safe-transaction.prod.hoprnet.link/
42+
safe_transaction_service_provider: https://safe-transaction.prod.hoprtech.net/
4343
transport:
4444
announce_local_addresses: false
4545
prefer_local_addresses: false
4646
identity:
47-
file: /app/hoprd/conf/hopr.id
47+
file: /app/hoprd-db/.hopr-identity
4848
api:
4949
enable: true
5050
host:

0 commit comments

Comments
 (0)