mirror of
https://github.com/hexastack/hexabot
synced 2024-11-25 21:37:59 +00:00
fix: add nlu data volume
This commit is contained in:
parent
6b387b826b
commit
60eb71a531
@ -3,7 +3,7 @@ version: "3.9"
|
|||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
networks:
|
networks:
|
||||||
- nlp-network
|
- nlu-network
|
||||||
depends_on:
|
depends_on:
|
||||||
nlu-api:
|
nlu-api:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@ -13,7 +13,9 @@ services:
|
|||||||
image: hexastack/hexabot-nlu:latest
|
image: hexastack/hexabot-nlu:latest
|
||||||
env_file: .env
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- nlp-network
|
- nlu-network
|
||||||
|
volumes:
|
||||||
|
- nlu-data:/app/repos
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail http://localhost:5000/health || exit 1
|
test: curl --fail http://localhost:5000/health || exit 1
|
||||||
interval: 10s
|
interval: 10s
|
||||||
@ -21,5 +23,8 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
nlu-data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
nlp-network:
|
nlu-network:
|
||||||
|
Loading…
Reference in New Issue
Block a user