45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
services:
|
|
btcpayserver:
|
|
image: btcpayserver/btcpayserver:2.2.0
|
|
container_name: btcpayserver
|
|
restart: unless-stopped
|
|
ports:
|
|
- "49392:49392"
|
|
environment:
|
|
- BTCPAY_HOST=pay.silverlabs.uk
|
|
- BTCPAY_PROTOCOL=https
|
|
- BTCPAY_BIND=0.0.0.0:49392
|
|
- BTCPAY_NETWORK=testnet
|
|
- BTCPAY_CHAINS=btc
|
|
- BTCPAY_ROOTPATH=/
|
|
- POSTGRES_HOST=postgres
|
|
- POSTGRES_PORT=5432
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=BTCPay2024SecurePassword123!
|
|
- POSTGRES_DB=btcpayserver
|
|
volumes:
|
|
- btcpay_datadir:/datadir
|
|
networks:
|
|
- btcpaynetwork
|
|
depends_on:
|
|
- postgres
|
|
|
|
postgres:
|
|
image: postgres:13
|
|
container_name: btcpay-postgres
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=BTCPay2024SecurePassword123!
|
|
- POSTGRES_DB=btcpayserver
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
networks:
|
|
- btcpaynetwork
|
|
|
|
volumes:
|
|
btcpay_datadir:
|
|
postgres_data:
|
|
|
|
networks:
|
|
btcpaynetwork: |