Ajouter docker-compose.add.yml
This commit is contained in:
commit
3a5ad2b155
|
@ -0,0 +1,14 @@
|
||||||
|
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
|
Loading…
Reference in New Issue