mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-12 03:47:07 +01:00
dacb1fc79e
Signed-off-by: Qian Deng <dengq@vmware.com>
10 lines
238 B
Python
10 lines
238 B
Python
import os
|
|
|
|
from g import data_dir, REDIS_UID, REDIS_GID
|
|
from utils.misc import prepare_dir
|
|
|
|
redis_data_path = os.path.join(data_dir, 'redis')
|
|
|
|
def prepare_redis(config_dict):
|
|
prepare_dir(redis_data_path, uid=REDIS_UID, gid=REDIS_GID)
|