feat: integrate Redis service for JuiceFS with Docker Compose and update configuration
This commit is contained in:
@@ -5,7 +5,8 @@ Before=docker.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/juicefs mount sqlite3:///mnt/juicefs-metadata.sqlite /mnt/object_storage --cache-dir=/var/jfsCache --buffer-size=1024 --prefetch=2 --cache-size=204800 --attr-cache=3 --entry-cache=3 --open-cache=3 --no-bgjob
|
||||
Environment="REDIS_PASSWORD={{ redis_password }}"
|
||||
ExecStart=/usr/local/bin/juicefs mount redis://localhost:6379/0 /mnt/object_storage --cache-dir=/var/jfsCache --buffer-size=1024 --prefetch=4 --cache-size=204800 --attr-cache=3 --entry-cache=3 --open-cache=3
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
Reference in New Issue
Block a user