Skip to content

Commit

Permalink
Fix persistent volumes
Browse files Browse the repository at this point in the history
  • Loading branch information
mainnet-pat committed Sep 1, 2024
1 parent bed3636 commit 2673f6e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Stop Mono service
run: sudo killall mono

- name: Fix permissions
run: sudo chown -R 101:102 docker

- name: Start containers
run: docker compose -f "./docker/docker-compose.yml" up -d --build

Expand Down
12 changes: 6 additions & 6 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ services:
ports:
- "127.0.0.1:48080:48080"
- "127.0.0.1:48081:48081"
# volumes:
# - ./data:/home/haveno/haveno/.localnet/xmr_local
volumes:
- ./data:/home/haveno/haveno/.localnet/xmr_local

node2:
build: haveno/
Expand All @@ -72,8 +72,8 @@ services:
- "127.0.0.1:28081:28081"
depends_on:
- node1
# volumes:
# - ./data:/home/haveno/haveno/.localnet/xmr_local
volumes:
- ./data:/home/haveno/haveno/.localnet/xmr_local

seed1:
build: haveno/
Expand Down Expand Up @@ -192,5 +192,5 @@ services:
- node2
ports:
- "127.0.0.1:28084:28084"
# volumes:
# - ./data:/home/haveno/haveno/.localnet/funding_wallet
volumes:
- ./data:/home/haveno/haveno/.localnet/funding_wallet
2 changes: 2 additions & 0 deletions docker/haveno/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN set -ex && git clone https://github.com/haveno-dex/haveno.git /home/haveno/h

WORKDIR /home/haveno/haveno

RUN set -ex && mkdir -p /home/haveno/haveno/.localnet/xmr_local

RUN set -ex && git fetch origin && git checkout origin/master

RUN set -ex && make skip-tests
Expand Down

0 comments on commit 2673f6e

Please sign in to comment.