Add rabbitmq

This commit is contained in:
Zoe Roux 2024-03-13 19:27:10 +01:00
parent 6143125f7a
commit 0d91001376
No known key found for this signature in database
4 changed files with 34 additions and 3 deletions

View File

@ -73,3 +73,6 @@ POSTGRES_PORT=5432
MEILI_HOST="http://meilisearch:7700"
MEILI_MASTER_KEY="ghvjkgisbgkbgskegblfqbgjkebbhgwkjfb"
RABBITMQ_DEFAULT_USER=kyoo
RABBITMQ_DEFAULT_PASS=aohohunuhouhuhhoahothonseuhaoensuthoaentsuhha

View File

@ -147,10 +147,20 @@ services:
- .env
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"]
interval: 10s
interval: 30s
timeout: 5s
retries: 5
rabbitmq:
image: rabbitmq:3-management-alpine
restart: on-failure
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
ports:
- 5672:5672
- 15672:15672
volumes:
kyoo:
db:

View File

@ -120,10 +120,19 @@ services:
- .env
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"]
interval: 10s
interval: 30s
timeout: 5s
retries: 5
rabbitmq:
image: rabbitmq:3-alpine
restart: on-failure
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
ports:
- 5672:5672
volumes:
kyoo:
db:

View File

@ -119,10 +119,19 @@ services:
- .env
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:7700/health"]
interval: 10s
interval: 30s
timeout: 5s
retries: 5
rabbitmq:
image: rabbitmq:3-alpine
restart: on-failure
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
ports:
- 5672:5672
volumes:
kyoo:
db: