mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Add rabbitmq healthchecks
This commit is contained in:
parent
a5c7aef3b8
commit
22d0d064f7
@ -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:
|
||||
|
@ -26,6 +26,8 @@ services:
|
||||
condition: service_healthy
|
||||
meilisearch:
|
||||
condition: service_healthy
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- kyoo:/kyoo
|
||||
|
||||
@ -48,6 +50,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: ['']
|
||||
@ -132,6 +143,12 @@ services:
|
||||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
||||
ports:
|
||||
- 5672:5672
|
||||
healthcheck:
|
||||
test: rabbitmq-diagnostics -q ping
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
kyoo:
|
||||
|
@ -25,6 +25,8 @@ services:
|
||||
condition: service_healthy
|
||||
meilisearch:
|
||||
condition: service_healthy
|
||||
rabbitmq:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- kyoo:/kyoo
|
||||
|
||||
@ -47,6 +49,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: ['']
|
||||
@ -131,6 +142,12 @@ services:
|
||||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
||||
ports:
|
||||
- 5672:5672
|
||||
healthcheck:
|
||||
test: rabbitmq-diagnostics -q ping
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
volumes:
|
||||
kyoo:
|
||||
|
Loading…
x
Reference in New Issue
Block a user