add redis

This commit is contained in:
alexcos20 2021-12-06 02:25:45 -08:00
parent f1c5fee628
commit 9d607edc6e
3 changed files with 19 additions and 0 deletions

View File

@ -75,6 +75,8 @@ 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 |

15
compose-files/redis.yml Normal file
View File

@ -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:

View File

@ -162,6 +162,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"
@ -187,6 +188,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)