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: environment:
- MINIO_ROOT_USER=$MINIO_ROOT_USER - MINIO_ROOT_USER=$MINIO_ROOT_USER
- MINIO_ROOT_PASSWORD=$MINIO_ROOT_PASSWORD - MINIO_ROOT_PASSWORD=$MINIO_ROOT_PASSWORD
volumes: # volumes:
- ../docker_data/recipes2_data/minio:/bitnami/minio/data:z # - ../docker_data/recipes2_data/minio:/bitnami/minio/data:z
ports: ports:
- '9000:9000' - '9000:9000'
- '9001:9001' - '9001:9001'
@ -77,7 +77,7 @@ services:
container_name: redis container_name: redis
restart: unless-stopped restart: unless-stopped
env_file: .env 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: volumes:
- ../docker_data/recipes2_data/cache:/date - ../docker_data/recipes2_data/cache:/date
networks: networks:
@ -104,4 +104,4 @@ networks:
ipam: ipam:
driver: default driver: default
config: config:
- subnet: "192.168.4.0/24" - subnet: "192.168.4.0/24"