[Setup] Save redis data to named volume

Prevents it from creating anonymous volumes over and over again
This commit is contained in:
Earlopain 2021-11-14 23:51:41 +01:00
parent 061176e095
commit 7f4114736d
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -52,6 +52,9 @@ services:
redis:
image: redis:alpine
command: redis-server --save 10 1 --loglevel warning
volumes:
- redis_data:/data
memcached:
image: memcached:alpine
@ -69,6 +72,7 @@ volumes:
post_data:
elastic_data:
db_data:
redis_data:
gems:
node_modules:
public_packs: