forked from btcpayserver/btcpayserver-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opt-add-configurator.yml
26 lines (24 loc) · 921 Bytes
/
opt-add-configurator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: "3"
services:
configurator:
restart: unless-stopped
image: btcpayserver/btcpayserver-configurator:0.0.21
environment:
CONFIGURATOR_SSHCONNECTION: "[email protected]"
CONFIGURATOR_SSHKEYFILE: ${BTCPAY_SSHKEYFILE}
CONFIGURATOR_SSHAUTHORIZEDKEYS: ${BTCPAY_SSHAUTHORIZEDKEYS}
CONFIGURATOR_ROOTPATH: "${BTCPAY_ROOTPATH:-/}configurator"
CONFIGURATOR_COOKIEFILEPATH: "/usr/local/etc/configurator/cookie"
volumes:
- "configurator_passworddir:/usr/local/etc/configurator"
- "$<BTCPAY_HOST_SSHAUTHORIZEDKEYS>?:${BTCPAY_SSHAUTHORIZEDKEYS}"
- "btcpay_datadir:/datadir"
expose:
- "80"
btcpayserver:
environment:
BTCPAY_EXTERNALCONFIGURATOR: "cookiefilepath=/usr/local/etc/configurator/cookie;server=/configurator"
volumes:
- "configurator_passworddir:/usr/local/etc/configurator"
volumes:
configurator_passworddir: