Skip to content

Commit

Permalink
Change data directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alpeto9 committed Oct 8, 2024
1 parent 7f43d7e commit 640b3da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion downloadLedgerSnapshot.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Ledger default folder
DATA_DIR="./data"
DATA_DIR="/data"

# Ensure that the /data directory exists
if [ ! -d "$DATA_DIR" ]; then
Expand Down
4 changes: 1 addition & 3 deletions node-runner-cli/templates/radix-fullnode-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
version: '3.8'
services:
{% if core_node is not none and core_node is defined %}
{% if download-community-snapshot == "true" %}
download-community-ledger-snapshot:
build:
context: .
dockerfile: Dockerfile.ledgerdownloader
volumes:
- ./data:/data
{% endif %}
- /data:/data
core:
cap_add:
- NET_ADMIN
Expand Down

0 comments on commit 640b3da

Please sign in to comment.