Fix persistent volumes

This commit is contained in:
mainnet-pat 2024-09-01 18:49:38 +00:00
parent bed3636395
commit d08f671456
3 changed files with 11 additions and 6 deletions

View File

@ -24,6 +24,9 @@ jobs:
- name: Stop Mono service
run: sudo killall mono
- name: Fix permissions
run: mkdir docker/data && sudo chown -R 101:102 docker/data
- name: Start containers
run: docker compose -f "./docker/docker-compose.yml" up -d --build

View File

@ -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/
@ -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/
@ -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

View File

@ -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