1
0

Isolate postgres and enable mysql & sqlite through docker

This commit is contained in:
Andrew Camilleri
2018-12-04 14:54:04 +01:00
parent 227faeaa94
commit e17de97c93
5 changed files with 34 additions and 3 deletions

View File

@@ -6,6 +6,11 @@ services:
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: