mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
16 lines
362 B
YAML
16 lines
362 B
YAML
version: "3"
|
|
|
|
services:
|
|
postgres:
|
|
restart: unless-stopped
|
|
image: postgres:9.6.5
|
|
volumes:
|
|
- "postgres_datadir:/var/lib/postgresql/data"
|
|
btcpayserver:
|
|
environment:
|
|
BTCPAY_POSTGRES: User ID=postgres;Host=postgres;Port=5432;Database=btcpayserver${NBITCOIN_NETWORK:-regtest}
|
|
links:
|
|
- postgres
|
|
|
|
volumes:
|
|
postgres_datadir: |