2024-09-10 09:50:11 +00:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
api:
|
|
|
|
networks:
|
2024-10-27 18:31:41 +00:00
|
|
|
- nlu-network
|
2024-09-10 09:50:11 +00:00
|
|
|
depends_on:
|
|
|
|
nlu-api:
|
|
|
|
condition: service_healthy
|
|
|
|
|
|
|
|
nlu-api:
|
|
|
|
container_name: nlu-api
|
2024-09-20 17:59:00 +00:00
|
|
|
image: hexastack/hexabot-nlu:latest
|
2024-09-10 09:50:11 +00:00
|
|
|
env_file: .env
|
|
|
|
networks:
|
2024-10-27 18:31:41 +00:00
|
|
|
- nlu-network
|
|
|
|
volumes:
|
|
|
|
- nlu-data:/app/repos
|
2024-09-10 09:50:11 +00:00
|
|
|
healthcheck:
|
|
|
|
test: curl --fail http://localhost:5000/health || exit 1
|
|
|
|
interval: 10s
|
|
|
|
timeout: 10s
|
|
|
|
retries: 5
|
|
|
|
start_period: 10s
|
|
|
|
|
2024-10-27 18:31:41 +00:00
|
|
|
volumes:
|
|
|
|
nlu-data:
|
|
|
|
|
2024-09-10 09:50:11 +00:00
|
|
|
networks:
|
2024-10-27 18:31:41 +00:00
|
|
|
nlu-network:
|