Browse Source

Remove ganache database volume from commands

develop
Apostolos Fanakis 4 years ago
parent
commit
978c583fa9
  1. 2
      docker/Makefile
  2. 1
      docker/docker-compose.yml

2
docker/Makefile

@ -17,7 +17,7 @@ build-ganache:
@docker build ../ -f ./ganache/Dockerfile -t concordia-ganache @docker build ../ -f ./ganache/Dockerfile -t concordia-ganache
run-ganache: run-ganache:
@docker network create --driver bridge concordia_ganache_network || true &&\ @docker network create --driver bridge concordia_ganache_network || true &&\
docker run -d -v ${GANACHE_VOLUMES}/ganache_db:/home/ganache_db -v ${GANACHE_VOLUMES}/ganache_keys:/home/ganache_keys -p 8545:8545 --env-file=./env/ganache.docker.env --name concordia-ganache --net=concordia_ganache_network concordia-ganache:latest docker run -d -v ${GANACHE_VOLUMES}/ganache_keys:/home/ganache_keys -p 8545:8545 --env-file=./env/ganache.docker.env --name concordia-ganache --net=concordia_ganache_network concordia-ganache:latest
run-ganache-test: run-ganache-test:
@docker network create --driver bridge concordia_ganache_test_network || true &&\ @docker network create --driver bridge concordia_ganache_test_network || true &&\
docker run --rm -d -p 8546:8546 --env-file=./env/ganache.test.docker.env --name concordia-ganache-test --net=concordia_ganache_test_network concordia-ganache:latest docker run --rm -d -p 8546:8546 --env-file=./env/ganache.test.docker.env --name concordia-ganache-test --net=concordia_ganache_test_network concordia-ganache:latest

1
docker/docker-compose.yml

@ -15,7 +15,6 @@ services:
- 8545:8545 - 8545:8545
user: root user: root
volumes: volumes:
- ./ganache/volumes/ganache_db:/home/ganache_db
- ./ganache/volumes/ganache_keys:/home/ganache_keys - ./ganache/volumes/ganache_keys:/home/ganache_keys
networks: networks:
ganache_network: ganache_network:

Loading…
Cancel
Save