Actualiser docker-compose.add.yml
This commit is contained in:
parent
dbc0d5fb0a
commit
e3015ad6e8
|
@ -1,16 +1,16 @@
|
||||||
#=== redis_mem
|
#=== redis_mem
|
||||||
redis_mem:
|
redis_mem:
|
||||||
image: redis:6-alpine
|
image: redis:6-alpine
|
||||||
container_name: redis_mem
|
container_name: redis_mem
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- redis_storage_mem:/data
|
- redis_storage_mem:/data
|
||||||
command: redis-server --requirepass mypassword
|
command: redis-server --requirepass mypassword
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD', 'redis-cli', 'ping']
|
test: ['CMD', 'redis-cli', 'ping']
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
#===
|
#===
|
Loading…
Reference in New Issue