Closed tiero closed 2 years ago
To prevent this, should maybe the tdexd
"pulls" the password IN instead of being a separated service?
LND does the same apparently, we can have an ENV VAR to specify where the password is.
https://github.com/lightningnetwork/lnd/blob/master/docs/wallet.md#auto-unlocking-a-wallet
@sekulicd
First thing is to try to replicate the issue with docker compose
version: "3.7"
services:
tdexd: container_name: "tdexd" image: ghcr.io/tdex-network/tdexd:latest restart: unless-stopped environment:
"9000:9000"
command: /bin/bash -c "(sleep 1 && unlockerd --password_path=/pwd.txt --interval=10 >& /dev/null &) && /tdexd-linux"
volumes:
Run it with docker-compose up
initialize with seed and password and put it in the pwd.txt file in local path
check status with docker exec -it tdexd tdex status
Restart the Docker engine (or Docker Desktop if on Mac)
Is it unlocker working?
@sekulicd We need to coordinate all documentation and tdex-box
reference with new ENV VAR. Refer to first comment in the issue for checklist for completion
TODO:
tdexd
cmd
and from Dockerfile