1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-28 06:48:32 +09:00
MisskeyIO/docker-compose.local-db.yml

43 lines
898 B
YAML
Raw Normal View History

2023-12-08 08:22:08 +09:00
version: "3"
# このconfigは、 dockerでMisskey本体を起動せず、 redisとpostgresql などだけを起動します
services:
2023-12-21 07:15:22 +09:00
keydb:
2023-12-08 08:22:08 +09:00
restart: always
2023-12-21 07:15:22 +09:00
image: eqalpha/keydb:latest
2023-12-08 08:22:08 +09:00
ports:
- "6379:6379"
volumes:
2023-12-21 07:15:22 +09:00
- ./keydb:/data
2023-12-08 08:22:08 +09:00
healthcheck:
2023-12-21 07:15:22 +09:00
test: "keydb-cli ping"
2023-12-08 08:22:08 +09:00
interval: 5s
retries: 20
db:
restart: always
image: postgres:15-alpine
ports:
- "5432:5432"
env_file:
- .config/docker.env
volumes:
- ./db:/var/lib/postgresql/data
healthcheck:
test: "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"
interval: 5s
retries: 20
# meilisearch:
# restart: always
# image: getmeili/meilisearch:v1.3.4
# environment:
# - MEILI_NO_ANALYTICS=true
# - MEILI_ENV=production
# env_file:
# - .config/meilisearch.env
# volumes:
# - ./meili_data:/meili_data