diff --git a/lbrynet/Dockerfile b/lbrynet/Dockerfile index 747b770..8b20167 100644 --- a/lbrynet/Dockerfile +++ b/lbrynet/Dockerfile @@ -29,13 +29,15 @@ EXPOSE 5279 EXPOSE 50001 - +## TODO: Have wallets stored on their own volume/subdirectory for security, and backups. ## Volumize the wallets in a separate location for backup purposes may be unnecessary. # VOLUME /lbrynet/.local/share/lbry/lbryum/wallets # VOLUME /lbrynet/.local/ ## Example daemon_settings.yml is at https://github.com/lbryio/lbry/blob/master/example_daemon_settings.yml -# VOLUME /etc/lbry/daemon_settings.yml +ADD https://raw.githubusercontent.com/lbryio/lbry/master/example_daemon_settings.yml /etc/lbrynet/example_daemon_settings.yml +## TODO: In start.sh detect and merge changes. +VOLUME /etc/lbry/daemon_settings.yml ## TODO: Downloaded blobs will be in their own separate volume for keeping backups of critical secrets and data separate from backups of potentially massive blob files. # VOLUME /lbrynet/Downloads/ diff --git a/lbrynet/docker-compose.yml b/lbrynet/docker-compose.yml index fad5c2f..5131bea 100644 --- a/lbrynet/docker-compose.yml +++ b/lbrynet/docker-compose.yml @@ -24,4 +24,4 @@ services: - 50001:50001 ## host volumes for persistent data such as wallet private keys. volumes: - - ./data/:/data + - ./data:/data