fix: add nats
This commit is contained in:
parent
f9426751ce
commit
e30310b45d
13
compose.yaml
13
compose.yaml
@ -30,6 +30,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- '${FLUXER_HTTP_PORT:-8080}:8080'
|
- '${FLUXER_HTTP_PORT:-8080}:8080'
|
||||||
depends_on:
|
depends_on:
|
||||||
|
nats:
|
||||||
|
condition: service_healthy
|
||||||
valkey:
|
valkey:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
volumes:
|
volumes:
|
||||||
@ -43,6 +45,17 @@ services:
|
|||||||
start_period: 15s
|
start_period: 15s
|
||||||
logging: *default-logging
|
logging: *default-logging
|
||||||
|
|
||||||
|
nats:
|
||||||
|
image: nats:2.11-alpine
|
||||||
|
container_name: fluxer-nats
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "4222:4222"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "nats", "ping"]
|
||||||
|
interval: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
meilisearch:
|
meilisearch:
|
||||||
image: getmeili/meilisearch:v1.14
|
image: getmeili/meilisearch:v1.14
|
||||||
container_name: meilisearch
|
container_name: meilisearch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user