diff --git a/README.md b/README.md index 5f27ce5..94fc2a2 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ The default versions are always a combination of component versions which are co | Graphipfs | | ipfs/go-ipfs:v0.4.23 | 172.15.0.16 | 5001 -> 5001 | | Graphpgsql | | postgres | 172.15.0.7 | 5432 -> 5432 | | Dashboard | | portainer/portainer | 172.15.0.25 | 9100 -> 9000 | +| Redis | | bitnami/redis:latest | 172.15.0.18 | 6379 -> 6379 | You can override the Docker image tag used for a particular component by setting its associated environment variable before calling `start_ocean.sh`: diff --git a/compose-files/redis.yml b/compose-files/redis.yml new file mode 100644 index 0000000..9d09240 --- /dev/null +++ b/compose-files/redis.yml @@ -0,0 +1,15 @@ +version: '3' +services: + redis: + image: bitnami/redis:latest + ports: + - 6379:6379 + networks: + backend: + ipv4_address: 172.15.0.18 + environment: + ALLOW_EMPTY_PASSWORD: "yes" + volumes: + - redis1vol:/bitnami/redis/data +volumes: + redis1vol: diff --git a/start_ocean.sh b/start_ocean.sh index da1e0e2..b1dee39 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -160,6 +160,7 @@ COMPOSE_FILES+=" -f ${COMPOSE_DIR}/dashboard.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/aquarius.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/elasticsearch.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/provider.yml" +COMPOSE_FILES+=" -f ${COMPOSE_DIR}/redis.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/ganache.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/ocean_contracts.yml" @@ -185,6 +186,7 @@ while :; do ################################################# --no-provider) COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/provider.yml/}" + COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/redis.yml/}" printf $COLOR_Y'Starting without Provider...\n\n'$COLOR_RESET ;; --with-provider2)