use keydb

This commit is contained in:
riku6460 2023-12-21 07:15:22 +09:00
parent 00c9e43861
commit e24c90968d
No known key found for this signature in database
GPG Key ID: 27414FA27DB94CF6
3 changed files with 8 additions and 8 deletions

View File

@ -96,7 +96,7 @@ redis:
# #db: 1 # #db: 1
#redisForTimelines: #redisForTimelines:
# host: redis # host: keydb
# port: 6379 # port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6 # #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass # #pass: example-pass

View File

@ -96,7 +96,7 @@ redis:
# #db: 1 # #db: 1
#redisForTimelines: #redisForTimelines:
# host: redis # host: keydb
# port: 6379 # port: 6379
# #family: 0 # 0=Both, 4=IPv4, 6=IPv6 # #family: 0 # 0=Both, 4=IPv4, 6=IPv6
# #pass: example-pass # #pass: example-pass

View File

@ -3,15 +3,15 @@ version: "3"
# このconfigは、 dockerでMisskey本体を起動せず、 redisとpostgresql などだけを起動します # このconfigは、 dockerでMisskey本体を起動せず、 redisとpostgresql などだけを起動します
services: services:
redis: keydb:
restart: always restart: always
image: redis:7-alpine image: eqalpha/keydb:latest
ports: ports:
- "6379:6379" - "6379:6379"
volumes: volumes:
- ./redis:/data - ./keydb:/data
healthcheck: healthcheck:
test: "redis-cli ping" test: "keydb-cli ping"
interval: 5s interval: 5s
retries: 20 retries: 20