Use btcd btcctl test containers (#63)

* Use containers with test in name for btcd and btcctl

* Remove duplication of createdb script
This commit is contained in:
Jonathan Zernik 2020-07-02 22:45:12 -07:00 committed by GitHub
parent 2a88b51ec0
commit 6fd4940a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 7 deletions

View file

@ -9,7 +9,7 @@ services:
- POSTGRES_PASSWORD=postgres
volumes:
- postgres_dir:/var/lib/postgresql/data
- ./createdb.sql:/docker-entrypoint-initdb.d/init.sql
- ../createdb.sql:/docker-entrypoint-initdb.d/init.sql
lnd:
image: lnd

View file

@ -1,3 +0,0 @@
CREATE DATABASE squeakserver;
\connect squeakserver;

View file

@ -3,7 +3,7 @@ services:
btcd:
image: btcd
container_name: btcd
container_name: test_btcd
build:
context: ../
dockerfile: docker/btcd/Dockerfile
@ -25,7 +25,7 @@ services:
btcctl:
image: btcd
container_name: btcctl
container_name: test_btcctl
build:
context: ../
dockerfile: docker/btcd/Dockerfile
@ -88,7 +88,7 @@ services:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./createdb.sql:/docker-entrypoint-initdb.d/init.sql
- ../createdb.sql:/docker-entrypoint-initdb.d/init.sql
sqkserver:
image: sqkserver