Use volumes to share sshkey and authorized keys instead of copying and add build time variables to docker-compose
This commit is contained in:
@@ -16,12 +16,14 @@ services:
|
||||
BTCPAY_SSHCONNECTION: "root@host.docker.internal"
|
||||
BTCPAY_SSHTRUSTEDFINGERPRINTS: ${BTCPAY_SSHTRUSTEDFINGERPRINTS}
|
||||
BTCPAY_SSHKEYFILE: ${BTCPAY_SSHKEYFILE}
|
||||
BTCPAY_SSHAUTHORIZEDKEYS: ${BTCPAY_SSHAUTHORIZEDKEYS}
|
||||
BTCPAY_DEBUGLOG: btcpay.log
|
||||
links:
|
||||
- postgres
|
||||
volumes:
|
||||
- "btcpay_datadir:/datadir"
|
||||
- "nbxplorer_datadir:/root/.nbxplorer"
|
||||
- "$<BTCPAY_HOST_SSHAUTHORIZEDKEYS>?:${BTCPAY_SSHAUTHORIZEDKEYS}"
|
||||
|
||||
volumes:
|
||||
btcpay_datadir:
|
||||
Reference in New Issue
Block a user