mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 00:49:17 +09:00
use keydb
This commit is contained in:
parent
00c9e43861
commit
e24c90968d
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user