diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..a0408f81 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +service-configs/* diff --git a/README.md b/README.md index 033967de..d43e6387 100644 --- a/README.md +++ b/README.md @@ -19,5 +19,7 @@ docker-compose down -v rebuild an images ``` -docker-compose up -d --no-deps --build -``` \ No newline at end of file +docker-compose up --build +`` + +Deployment variables are writtend to service-configs/.env after everthing is up.` diff --git a/docker-compose.yml b/docker-compose.yml index b713752c..6e2d2a9c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: