mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-15 17:35:44 +01:00
a6edd50a5d
* chore(docker-compose): 推奨の名前にする
5c18e329d5/spec.md (compose-file)
* yaml to yml
* fix
* fix
40 lines
878 B
YAML
40 lines
878 B
YAML
# このconfigは、 dockerでMisskey本体を起動せず、 redisとpostgresql などだけを起動します
|
|
|
|
services:
|
|
redis:
|
|
restart: always
|
|
image: redis:7-alpine
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- ./redis:/data
|
|
healthcheck:
|
|
test: "redis-cli ping"
|
|
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
|
|
|