mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-25 05:22:58 +02:00
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)
|