[UPDATE] change config redis from docker compose to env
This commit is contained in:
parent
a3c66fdecf
commit
e4f4de47e7
|
@ -338,7 +338,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_SAVE_PATH}/redis:/data
|
- ${DATA_SAVE_PATH}/redis:/data
|
||||||
ports:
|
ports:
|
||||||
- "6379:6379"
|
- "${REDIS_PORT}:6379"
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
|
|
|
@ -104,6 +104,10 @@ MYSQL_PORT=3306
|
||||||
MYSQL_ROOT_PASSWORD=root
|
MYSQL_ROOT_PASSWORD=root
|
||||||
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
|
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
|
||||||
|
|
||||||
|
### REDIS ##############################################################################################################
|
||||||
|
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
### Percona ############################################################################################################
|
### Percona ############################################################################################################
|
||||||
|
|
||||||
PERCONA_DATABASE=homestead
|
PERCONA_DATABASE=homestead
|
||||||
|
|
Loading…
Reference in New Issue