remove redis save to disk

This commit is contained in:
yyasha 2024-01-27 19:51:46 +03:00
parent 565acde3cd
commit 665a469f27
1 changed files with 4 additions and 4 deletions

View File

@ -63,8 +63,8 @@ services:
environment:
- MINIO_ROOT_USER=$MINIO_ROOT_USER
- MINIO_ROOT_PASSWORD=$MINIO_ROOT_PASSWORD
volumes:
- ../docker_data/recipes2_data/minio:/bitnami/minio/data:z
# volumes:
# - ../docker_data/recipes2_data/minio:/bitnami/minio/data:z
ports:
- '9000:9000'
- '9001:9001'
@ -77,7 +77,7 @@ services:
container_name: redis
restart: unless-stopped
env_file: .env
command: redis-server --save 20 1 --loglevel warning --requirepass $RDB_PASSWORD
command: redis-server --loglevel warning --requirepass $RDB_PASSWORD # --save 20 1
volumes:
- ../docker_data/recipes2_data/cache:/date
networks:
@ -104,4 +104,4 @@ networks:
ipam:
driver: default
config:
- subnet: "192.168.4.0/24"
- subnet: "192.168.4.0/24"