Add missing links and volumes to sqkserver docker-compose

This commit is contained in:
yzernik 2020-07-23 00:37:00 -07:00
parent 9658517380
commit 86f96dbdb8
2 changed files with 12 additions and 10 deletions

View file

@ -51,9 +51,11 @@ services:
context: ../
dockerfile: docker/sqkserver/Dockerfile
volumes:
- shared:/rpc
- lnd_dir:/root/.lnd
- ./config.ini:/app/config.ini
links:
- "btcd:btcd"
- "lnd:lnd"
depends_on:
- db

View file

@ -1,6 +1,16 @@
version: '3'
services:
db:
image: postgres
container_name: test_db
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ../createdb.sql:/docker-entrypoint-initdb.d/init.sql
btcd:
image: btcd
container_name: test_btcd
@ -66,16 +76,6 @@ services:
- "btcd:blockchain"
entrypoint: ["./start-lnd.sh"]
db:
image: postgres
container_name: test_db
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ../createdb.sql:/docker-entrypoint-initdb.d/init.sql
sqkserver:
image: sqkserver
container_name: test_sqkserver