Добавил к Redis Volumes.
This commit is contained in:
parent
de69776bc8
commit
af053b4d53
@ -80,6 +80,8 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:3.0-alpine
|
image: redis:3.0-alpine
|
||||||
# restart: always
|
# restart: always
|
||||||
|
volumes:
|
||||||
|
- ./redis/data:/data
|
||||||
db:
|
db:
|
||||||
image: docker.io/mysql:8.0.33
|
image: docker.io/mysql:8.0.33
|
||||||
command: --default-authentication-plugin=mysql_native_password
|
command: --default-authentication-plugin=mysql_native_password
|
||||||
|
@ -50,6 +50,8 @@ services:
|
|||||||
redis:
|
redis:
|
||||||
image: redis:3.0-alpine
|
image: redis:3.0-alpine
|
||||||
# restart: always
|
# restart: always
|
||||||
|
volumes:
|
||||||
|
- ./redis/data:/data
|
||||||
swagger:
|
swagger:
|
||||||
image: swaggerapi/swagger-ui
|
image: swaggerapi/swagger-ui
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -62,6 +62,8 @@ services:
|
|||||||
- ./app/application:/var/www/html
|
- ./app/application:/var/www/html
|
||||||
redis:
|
redis:
|
||||||
image: redis:3.0-alpine
|
image: redis:3.0-alpine
|
||||||
|
volumes:
|
||||||
|
- ./redis/data:/data
|
||||||
db:
|
db:
|
||||||
image: mysql:8.0.33
|
image: mysql:8.0.33
|
||||||
command: --default-authentication-plugin=mysql_native_password
|
command: --default-authentication-plugin=mysql_native_password
|
||||||
|
1
redis/.gitignore
vendored
Normal file
1
redis/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
data/
|
Loading…
Reference in New Issue
Block a user