mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-12-23 03:49:23 +00:00
Dockerfile: remove CMD line and docker-compose file is added
This commit is contained in:
parent
79564f714f
commit
399ad76b1a
2 changed files with 34 additions and 2 deletions
|
@ -134,5 +134,4 @@ COPY --chown=monero-lws:monero-lws --from=build /monero-lws/build/src/* /usr/loc
|
||||||
# Expose REST server port
|
# Expose REST server port
|
||||||
EXPOSE 8443
|
EXPOSE 8443
|
||||||
|
|
||||||
ENTRYPOINT ["monero-lws-daemon", "--db-path=/home/monero-lws/.bitmonero/light_wallet_server"]
|
ENTRYPOINT ["monero-lws-daemon"]
|
||||||
CMD ["--daemon=tcp://monerod:18082", "--sub=tcp://monerod:18083", "--log-level=4"]
|
|
||||||
|
|
33
docker-compose.yml
Normal file
33
docker-compose.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
services:
|
||||||
|
monero-lws:
|
||||||
|
# depends_on:
|
||||||
|
# - monero
|
||||||
|
container_name: monero-lws
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 8443:8443
|
||||||
|
command:
|
||||||
|
- --db-path=/home/monero-lws/.bitmonero/light_wallet_server
|
||||||
|
- --daemon=tcp://monero:1882
|
||||||
|
- --sub=tcp://monero:18084
|
||||||
|
- --zmq-pub=tcp://monero:18084
|
||||||
|
- --log-level=4
|
||||||
|
- --webhook-ssl-verification=none
|
||||||
|
- --disable-admin-auth
|
||||||
|
- --admin-rest-server=http://0.0.0.0:8443/admin
|
||||||
|
- --rest-server=http://0.0.0.0:8443/basic
|
||||||
|
- --access-control-origin=lws:8443
|
||||||
|
- --confirm-external-bind
|
||||||
|
volumes:
|
||||||
|
- monerolws:/home/monero-lws
|
||||||
|
networks:
|
||||||
|
- monerolws
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
monerolws: {}
|
||||||
|
|
||||||
|
networks:
|
||||||
|
monerolws:
|
||||||
|
driver: bridge
|
Loading…
Reference in a new issue