* Upgraded Traefik to 2.5. * Added paths routes for some services. * Removed not needed files copying. * Updated README. * Added new config. * Fixed services paths. * Fixed btctransmuter rule. * Changed log level. * Upgraded Traefik. * Changed true values to strings to improve compatibility. * Removed services configs from traefik.yml. --------- Co-authored-by: Andrew Camilleri <kukks@btcpayserver.org>
45 lines
1.6 KiB
YAML
45 lines
1.6 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
btcpayserver:
|
|
restart: unless-stopped
|
|
image: ${BTCPAY_IMAGE:-btcpayserver/btcpayserver:1.11.7$<BTCPAY_BUILD_CONFIGURATION>?}
|
|
expose:
|
|
- "49392"
|
|
environment:
|
|
# BTCPay settings
|
|
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
|
|
BTCPAY_EXPLORERPOSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer${NBITCOIN_NETWORK:-regtest}
|
|
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
|
BTCPAY_BIND: 0.0.0.0:49392
|
|
BTCPAY_ROOTPATH: ${BTCPAY_ROOTPATH:-/}
|
|
BTCPAY_SSHCONNECTION: "root@host.docker.internal"
|
|
BTCPAY_SSHTRUSTEDFINGERPRINTS: ${BTCPAY_SSHTRUSTEDFINGERPRINTS}
|
|
BTCPAY_SSHKEYFILE: ${BTCPAY_SSHKEYFILE}
|
|
BTCPAY_SSHAUTHORIZEDKEYS: ${BTCPAY_SSHAUTHORIZEDKEYS}
|
|
BTCPAY_DEBUGLOG: btcpay.log
|
|
BTCPAY_UPDATEURL: https://api.github.com/repos/btcpayserver/btcpayserver/releases/latest
|
|
BTCPAY_DOCKERDEPLOYMENT: "true"
|
|
labels:
|
|
traefik.enable: "true"
|
|
traefik.http.routers.btcpayserver.rule: Host(`${BTCPAY_HOST}`)
|
|
# Traefic can not accept list from BTCPAY_ADDITIONAL_HOSTS, see Traefik/README.md
|
|
links:
|
|
- postgres
|
|
volumes:
|
|
- "btcpay_datadir:/datadir"
|
|
- "nbxplorer_datadir:/root/.nbxplorer"
|
|
- "$<BTCPAY_HOST_SSHAUTHORIZEDKEYS>?:${BTCPAY_SSHAUTHORIZEDKEYS}"
|
|
- "btcpay_pluginsdir:/root/.btcpayserver/Plugins"
|
|
|
|
volumes:
|
|
btcpay_datadir:
|
|
btcpay_pluginsdir:
|
|
|
|
required:
|
|
- "postgres"
|
|
- "nbxplorer"
|
|
- "btcpayserver"
|
|
recommended:
|
|
- "opt-add-tor"
|