Skip to content
Snippets Groups Projects
Commit 8da55ae1 authored by Gilles Filippini's avatar Gilles Filippini
Browse files

build (docker): use /var/lib/duniter

instead of /var/lib/lc-core.
parent 4456eb54
No related branches found
No related tags found
1 merge request!7build: docker image and compose file
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
......@@ -52,5 +52,5 @@ COPY docker/docker-entrypoint /usr/local/bin/
# Configuration
# rpc, rpc-ws, p2p, telemetry
EXPOSE 9933 9944 30333 9615
VOLUME /var/lib/lc-core
VOLUME /var/lib/duniter
ENTRYPOINT ["docker-entrypoint"]
......@@ -22,7 +22,7 @@ DUNITER_DEVELOPMENT_MODE=$(boolean "${DUNITER_DEVELOPMENT_MODE:-false}")
set -- "$@" \
$(ternary "${DUNITER_DEVELOPMENT_MODE:-false}" --dev) \
$(ternary "${DUNITER_DISABLE_PROMETHEUS:-false}" --no-prometheus) \
--ws-external -d /var/lib/lc-core
--ws-external -d /var/lib/duniter
echo "Starting duniter with parameters: $@"
exec duniter "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment