From e24c90968d1c0dea91c6c5cca2842bd555b723ea Mon Sep 17 00:00:00 2001 From: riku6460 <17585784+riku6460@users.noreply.github.com> Date: Thu, 21 Dec 2023 07:15:22 +0900 Subject: [PATCH] use keydb --- .config/docker_example.yml | 6 +++--- .devcontainer/devcontainer.yml | 2 +- docker-compose.local-db.yml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.config/docker_example.yml b/.config/docker_example.yml index 76eac8e9b..8c41261f6 100644 --- a/.config/docker_example.yml +++ b/.config/docker_example.yml @@ -96,7 +96,7 @@ redis: # #db: 1 #redisForTimelines: -# host: redis +# host: keydb # port: 6379 # #family: 0 # 0=Both, 4=IPv4, 6=IPv6 # #pass: example-pass @@ -106,7 +106,7 @@ redis: # ┌───────────────────────────┐ #───┘ MeiliSearch configuration └───────────────────────────── -# You can set scope to local (default value) or global +# You can set scope to local (default value) or global # (include notes from remote). #meilisearch: @@ -185,7 +185,7 @@ proxyRemoteFiles: true signToActivityPubGet: true # For security reasons, uploading attachments from the intranet is prohibited, -# but exceptions can be made from the following settings. Default value is "undefined". +# but exceptions can be made from the following settings. Default value is "undefined". # Read changelog to learn more (Improvements of 12.90.0 (2021/09/04)). #allowedPrivateNetworks: [ # '127.0.0.1/32' diff --git a/.devcontainer/devcontainer.yml b/.devcontainer/devcontainer.yml index e60c81904..38dbb0bb6 100644 --- a/.devcontainer/devcontainer.yml +++ b/.devcontainer/devcontainer.yml @@ -96,7 +96,7 @@ redis: # #db: 1 #redisForTimelines: -# host: redis +# host: keydb # port: 6379 # #family: 0 # 0=Both, 4=IPv4, 6=IPv6 # #pass: example-pass diff --git a/docker-compose.local-db.yml b/docker-compose.local-db.yml index 16ba4b49e..f758e03b6 100644 --- a/docker-compose.local-db.yml +++ b/docker-compose.local-db.yml @@ -3,15 +3,15 @@ version: "3" # このconfigは、 dockerでMisskey本体を起動せず、 redisとpostgresql などだけを起動します services: - redis: + keydb: restart: always - image: redis:7-alpine + image: eqalpha/keydb:latest ports: - "6379:6379" volumes: - - ./redis:/data + - ./keydb:/data healthcheck: - test: "redis-cli ping" + test: "keydb-cli ping" interval: 5s retries: 20