mirror of
https://github.com/hexastack/hexabot
synced 2024-11-24 13:05:15 +00:00
31 lines
515 B
YAML
31 lines
515 B
YAML
version: "3.9"
|
|
|
|
services:
|
|
api:
|
|
networks:
|
|
- nlu-network
|
|
depends_on:
|
|
nlu-api:
|
|
condition: service_healthy
|
|
|
|
nlu-api:
|
|
container_name: nlu-api
|
|
image: hexastack/hexabot-nlu:latest
|
|
env_file: .env
|
|
networks:
|
|
- nlu-network
|
|
volumes:
|
|
- nlu-data:/app/repos
|
|
healthcheck:
|
|
test: curl --fail http://localhost:5000/health || exit 1
|
|
interval: 10s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
nlu-data:
|
|
|
|
networks:
|
|
nlu-network:
|