-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfile: remove CMD line and docker-compose file is added #128
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think the default log-level should be 0, as 4 spams lots of data to disk. |
||
- --webhook-ssl-verification=none | ||
- --disable-admin-auth | ||
- --admin-rest-server=http://0.0.0.0:8443/admin | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The default should be |
||
- --rest-server=http://0.0.0.0:8443/basic | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same here. |
||
- --access-control-origin=lws:8443 | ||
- --confirm-external-bind | ||
volumes: | ||
- monerolws:/home/monero-lws | ||
networks: | ||
- monerolws | ||
|
||
volumes: | ||
monerolws: {} | ||
|
||
networks: | ||
monerolws: | ||
driver: bridge |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--sub
and--zmq-pub
need to be on different ports.--zmq-pub
needs to match the zmq-pub port ofmonerod
and--sub
can be any available port.