Ajouter docker-compose.add.yml

This commit is contained in:
administrateur 2024-07-24 14:24:08 +02:00
commit 3a5ad2b155
1 changed files with 14 additions and 0 deletions

14
docker-compose.add.yml Normal file
View File

@ -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