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

build (docker): configure ports

parent 3d30108d
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.
......@@ -50,6 +50,7 @@ COPY --from=build /target/release/lc-core /usr/local/bin/lc-core
COPY docker-entrypoint /usr/local/bin/
# Configuration
EXPOSE 9944
# rpc, rpc-ws, p2p, telemetry
EXPOSE 9933 9944 30333 9615
VOLUME /var/lib/lc-core
ENTRYPOINT ["docker-entrypoint"]
......@@ -5,7 +5,14 @@ services:
container_name: duniter-v2s
image: duniter-v2s
ports:
# telemetry
- "127.0.0.1:9615:9615"
# rpc
- "127.0.0.1:9933:9933"
# rpc-ws
- "127.0.0.1:9944:9944"
# p2p
- "30333:30333"
environment:
DUNITER_INSTANCE_NAME: "my_instance"
volumes:
......
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