Use volume for postgres db (#122)

This commit is contained in:
Jonathan Zernik 2020-07-23 01:02:57 -07:00 committed by GitHub
parent 531550bac8
commit bac577b792
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 21 deletions

View file

@ -9,6 +9,7 @@ services:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- postgres_dir:/var/lib/postgresql/data
- ../createdb.sql:/docker-entrypoint-initdb.d/init.sql
btcd:
@ -22,7 +23,6 @@ services:
- bitcoin:/data
environment:
- NETWORK=testnet
- MINING_ADDRESS
entrypoint: ["./start-btcd.sh"]
lnd:

View file

@ -108,26 +108,6 @@ services:
- "lnd_client:lnd"
command: tail -f /dev/null
# envoy:
# image: envoy
# container_name: test_envoy
# build:
# context: ../
# dockerfile: docker/envoy/Dockerfile
# ports:
# - 8080:8080
# links:
# - "sqkserver:sqkserver"
# frontend:
# image: frontend
# container_name: test_frontend
# build:
# context: ../
# dockerfile: docker/frontend/Dockerfile
# ports:
# - 8081:8081
volumes:
# btcctl and lnd containers.
test_shared: