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

@@ -0,0 +1,19 @@
version: "3"
services:
mysql:
restart: unless-stopped
image: mysql:8.0
volumes:
- "mysql_datadir:/var/lib/mysql"
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
btcpayserver:
environment:
BTCPAY_POSTGRES: Server=mysql;Database=btcpayserver${NBITCOIN_NETWORK:-regtest};Uid=root;Pwd=;Port=3306;
links:
- mysql
volumes:
mysql_datadir: