Добавил к Redis Volumes.
This commit is contained in:
parent
de69776bc8
commit
af053b4d53
@ -80,6 +80,8 @@ services:
|
||||
redis:
|
||||
image: redis:3.0-alpine
|
||||
# restart: always
|
||||
volumes:
|
||||
- ./redis/data:/data
|
||||
db:
|
||||
image: docker.io/mysql:8.0.33
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
|
@ -50,6 +50,8 @@ services:
|
||||
redis:
|
||||
image: redis:3.0-alpine
|
||||
# restart: always
|
||||
volumes:
|
||||
- ./redis/data:/data
|
||||
swagger:
|
||||
image: swaggerapi/swagger-ui
|
||||
depends_on:
|
||||
|
@ -62,6 +62,8 @@ services:
|
||||
- ./app/application:/var/www/html
|
||||
redis:
|
||||
image: redis:3.0-alpine
|
||||
volumes:
|
||||
- ./redis/data:/data
|
||||
db:
|
||||
image: mysql:8.0.33
|
||||
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