|
#=== redis_mem
|
|
redis_mem:
|
|
image: redis:6-alpine
|
|
container_name: redis_mem
|
|
restart: always
|
|
volumes:
|
|
- redis_storage_mem:/data
|
|
command: redis-server --requirepass mypassword
|
|
healthcheck:
|
|
test: ['CMD', 'redis-cli', 'ping']
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 10
|
|
networks:
|
|
- web
|
|
#=== |