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
|
condition: service_healthy
|
||||||
meilisearch:
|
meilisearch:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- ./back:/app
|
- ./back:/app
|
||||||
- /app/out/
|
- /app/out/
|
||||||
@ -71,6 +73,15 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${LIBRARY_ROOT}:/video:ro
|
- ${LIBRARY_ROOT}:/video:ro
|
||||||
|
|
||||||
|
autosync:
|
||||||
|
build: ./autosync
|
||||||
|
restart: on-failure
|
||||||
|
depends_on:
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
|
env_file:
|
||||||
|
- ./.env
|
||||||
|
|
||||||
transcoder:
|
transcoder:
|
||||||
<<: *transcoder-base
|
<<: *transcoder-base
|
||||||
profiles: ['']
|
profiles: ['']
|
||||||
@ -160,6 +171,12 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 5672:5672
|
- 5672:5672
|
||||||
- 15672:15672
|
- 15672:15672
|
||||||
|
healthcheck:
|
||||||
|
test: rabbitmq-diagnostics -q ping
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
kyoo:
|
kyoo:
|
||||||
|
@ -26,6 +26,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
meilisearch:
|
meilisearch:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- kyoo:/kyoo
|
- kyoo:/kyoo
|
||||||
|
|
||||||
@ -48,6 +50,15 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${LIBRARY_ROOT}:/video:ro
|
- ${LIBRARY_ROOT}:/video:ro
|
||||||
|
|
||||||
|
autosync:
|
||||||
|
build: ./autosync
|
||||||
|
restart: on-failure
|
||||||
|
depends_on:
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
|
env_file:
|
||||||
|
- ./.env
|
||||||
|
|
||||||
transcoder:
|
transcoder:
|
||||||
<<: *transcoder-base
|
<<: *transcoder-base
|
||||||
profiles: ['']
|
profiles: ['']
|
||||||
@ -132,6 +143,12 @@ services:
|
|||||||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
||||||
ports:
|
ports:
|
||||||
- 5672:5672
|
- 5672:5672
|
||||||
|
healthcheck:
|
||||||
|
test: rabbitmq-diagnostics -q ping
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
kyoo:
|
kyoo:
|
||||||
|
@ -25,6 +25,8 @@ services:
|
|||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
meilisearch:
|
meilisearch:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
- kyoo:/kyoo
|
- kyoo:/kyoo
|
||||||
|
|
||||||
@ -47,6 +49,15 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${LIBRARY_ROOT}:/video:ro
|
- ${LIBRARY_ROOT}:/video:ro
|
||||||
|
|
||||||
|
autosync:
|
||||||
|
build: ./autosync
|
||||||
|
restart: on-failure
|
||||||
|
depends_on:
|
||||||
|
rabbitmq:
|
||||||
|
condition: service_healthy
|
||||||
|
env_file:
|
||||||
|
- ./.env
|
||||||
|
|
||||||
transcoder:
|
transcoder:
|
||||||
<<: *transcoder-base
|
<<: *transcoder-base
|
||||||
profiles: ['']
|
profiles: ['']
|
||||||
@ -131,6 +142,12 @@ services:
|
|||||||
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
|
||||||
ports:
|
ports:
|
||||||
- 5672:5672
|
- 5672:5672
|
||||||
|
healthcheck:
|
||||||
|
test: rabbitmq-diagnostics -q ping
|
||||||
|
interval: 30s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
start_period: 10s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
kyoo:
|
kyoo:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user