config volumes

This commit is contained in:
Blair Vanderlugt 2021-02-02 08:23:12 -08:00
parent a4587deac5
commit ec2e341e60
3 changed files with 11 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
service-configs/*

View File

@ -19,5 +19,7 @@ docker-compose down -v
rebuild an images
```
docker-compose up -d --no-deps --build <service_name>
```
docker-compose up --build <service_name>
``
Deployment variables are writtend to service-configs/.env after everthing is up.`

View File

@ -3,10 +3,14 @@ version: "3"
volumes:
ganache-db: {}
postgres-db: {}
contract-config: {}
bee-data: {}
signer-data: {}
bloxberg-data: {}
contract-config:
driver_opts:
type: local
o: bind
device: ./service-configs
networks:
default:
@ -101,7 +105,7 @@ services:
DATABASE_ENGINE: ${DATABASE_ENGINE:-postgres}
DATABASE_DRIVER: ${DATABASE_DRIVER:-psycopg2}
ETH_ABI_DIR: ${ETH_ABI_DIR:-/usr/local/share/cic/solidity/abi}
deploy:
deploy:
restart_policy:
condition: on-failure
depends_on: