You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

119 lines
3.7 KiB
YAML

6 days ago
services:
btcpayserver:
restart: unless-stopped
build:
context: btcpayserver
6 days ago
container_name: btcpayserver
expose:
- 49392
6 days ago
environment:
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Application Name=btcpayserver;Database=btcpayserver${NBITCOIN_NETWORK:-mainnet}
BTCPAY_NETWORK: ${NBITCOIN_NETWORK:-mainnet}
BTCPAY_BIND: 0.0.0.0:49392
BTCPAY_ROOTPATH: ${BTCPAY_ROOTPATH:-/}
BTCPAY_SSHCONNECTION: root@host.docker.internal
6 days ago
BTCPAY_SSHTRUSTEDFINGERPRINTS: ${BTCPAY_SSHTRUSTEDFINGERPRINTS}
BTCPAY_SSHKEYFILE: ${BTCPAY_SSHKEYFILE}
BTCPAY_SSHAUTHORIZEDKEYS: ${BTCPAY_SSHAUTHORIZEDKEYS}
BTCPAY_DEBUGLOG: btcpay.log
BTCPAY_UPDATEURLz: https://api.github.com/repos/btcpayserver/btcpayserver/releases/latest
BTCPAY_DOCKERDEPLOYMENT: true
BTCPAY_CHAINS: wow
BTCPAY_WOW_DAEMON_URI: http://wownerod:34568
BTCPAY_WOW_WALLET_DAEMON_URI: http://wallet:8000
BTCPAY_WOW_WALLET_DAEMON_WALLETDIR: /wallet
6 days ago
HIDDENSERVICE_NAME: BTCPayServer
HIDDENSERVICE_REVERSEPROXY: nginx
BTCPAY_TORRCFILE: /usr/local/etc/tor/torrc-2
BTCPAY_SOCKSENDPOINT: tor:9050
labels:
traefik.enable: false
6 days ago
traefik.http.routers.btcpayserver.rule: Host(`${BTCPAY_HOST}`)
ports:
- 127.0.0.1:49392:49392
links:
- postgres
6 days ago
volumes:
- btcpay_datadir:/datadir
- btcpay_pluginsdir:/root/.btcpayserver/Plugins
- ./data/wallet:/wallet
- tor_servicesdir:/var/lib/tor/hidden_services
- tor_torrcdir:/usr/local/etc/tor/
6 days ago
wownerod:
restart: unless-stopped
build:
context: .
container_name: btcpayserver_wownerod
entrypoint: wownerod --rpc-bind-ip=0.0.0.0 --confirm-external-bind --rpc-bind-port=34568 --non-interactive --block-notify="/usr/bin/curl -s -X GET http://btcpayserver:49392/wownerolikedaemoncallback/block?cryptoCode=wow&hash=%s" --hide-my-port --enable-dns-blocklist
6 days ago
expose:
- 34568
6 days ago
volumes:
- ${DATA_PATH:-./data/blockchain}:/root/.wownero
6 days ago
wallet:
6 days ago
restart: unless-stopped
build:
context: .
container_name: btcpayserver_wallet
6 days ago
expose:
- 8000
6 days ago
volumes:
- ./data/wallet:/wallet
6 days ago
depends_on:
- wownerod
command:
bash /run_wallet.sh "http://wownerod:34568" "${WALLET_PASS:-walletpass}"
6 days ago
postgres:
restart: unless-stopped
image: btcpayserver/postgres:13.13
container_name: btcpayserver_postgres
shm_size: 256mb
command: ["-c", "random_page_cost=1.0", "-c", "shared_preload_libraries=pg_stat_statements"]
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres_datadir:/var/lib/postgresql/data
6 days ago
tor:
restart: unless-stopped
image: btcpayserver/tor:0.4.8.10
container_name: btcpayserver_tor
environment:
TOR_PASSWORD: btcpayserver
TOR_ADDITIONAL_CONFIG: /usr/local/etc/tor/torrc-2
TOR_EXTRA_ARGS: |
CookieAuthentication 1
expose:
- 9050
- 9051
6 days ago
volumes:
- tor_datadir:/home/tor/.tor
- tor_torrcdir:/usr/local/etc/tor
- tor_servicesdir:/var/lib/tor/hidden_services
6 days ago
tor-gen:
restart: unless-stopped
image: btcpayserver/docker-gen:0.10.7
container_name: btcpayserver_tor-gen
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./torrc.tmpl:/etc/docker-gen/templates/torrc.tmpl:ro
- tor_torrcdir:/usr/local/etc/tor
6 days ago
entrypoint: /usr/local/bin/docker-gen -notify-sighup tor -watch -wait 5s:30s /etc/docker-gen/templates/torrc.tmpl /usr/local/etc/tor/torrc-2
links:
- tor
6 days ago
volumes:
btcpay_datadir:
btcpay_pluginsdir:
postgres_datadir:
tor_datadir:
tor_torrcdir:
tor_servicesdir:
networks: {}