mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-05-25 08:32:27 -04:00
Add rabbitmq healthchecks
This commit is contained in:
@@ -35,6 +35,8 @@ services:
|
||||
condition: service_healthy
|
||||
meilisearch:
|
||||
condition: service_healthy
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- ./back:/app
|
||||
- /app/out/
|
||||
@@ -71,6 +73,15 @@ services:
|
||||
volumes:
|
||||
- ${LIBRARY_ROOT}:/video:ro
|
||||
|
||||
autosync:
|
||||
build: ./autosync
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
env_file:
|
||||
- ./.env
|
||||
|
||||
transcoder:
|
||||
<<: *transcoder-base
|
||||
profiles: ['']
|
||||
@@ -160,6 +171,12 @@ services:
|
||||
ports:
|
||||
- 5672:5672
|
||||
- 15672:15672
|
||||
healthcheck:
|
||||
test: rabbitmq-diagnostics -q ping
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
kyoo:
|
||||
|
||||
Reference in New Issue
Block a user