-
Notifications
You must be signed in to change notification settings - Fork 5
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
Make launching containers non-interactive for xud-ui #743
Comments
@erkarl I suggest we use command-line options to disable interactive questions.
E.g. # Example 1 (create)
bash xud.sh --network testnet --backup-dir ~/.xud-docker/testnet/backup --wallet-password 'secret'
# Example 2 (restore)
bash xud.sh --network mainnet --backup-dir /new/backup/location --wallet-password 'unlock' \
--restore-dir /old/xud-docker/mainnet
# Example 3 (discard --wallet-password in command-line)
source vault.env # contains XUD_DOCKER_WALLET_PASSWORD='deepsecret'
bash xud.sh --network mainnet --backup-dir ... P.S. If using non-interactive create then |
|
@reliveyy how would this work for Windows? Could we provide these options as environment variables?
|
Making this work on Windows is probably out of context of this issue though. |
Current state of xud-docker requires user input after starting the script to launch containers.
In order to provide smooth user experience for UI projects we'll need non-interactive mode.
bash xud.sh --non-interactive --mainnet
should:xud-docker
(since we're using aezeed we can change the password later via API call)The text was updated successfully, but these errors were encountered: