45 lines
809 B
YAML
45 lines
809 B
YAML
services:
|
|
frontend:
|
|
build:
|
|
context: frontend
|
|
ports:
|
|
- 8080:80
|
|
db:
|
|
image: postgres:17-alpine
|
|
env_file:
|
|
- .env
|
|
# ports:
|
|
# - "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U admin"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
coordinator:
|
|
build:
|
|
context: backend/coordinator
|
|
dockerfile: ../../Dockerfile
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- db
|
|
healthcheck:
|
|
test: wget --spider --no-verbose http://127.0.0.1:5000/health || exit 1
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
ports:
|
|
- 5000:5000
|
|
|
|
spacy:
|
|
build:
|
|
context: backend/spacy-service
|
|
|
|
exxeta:
|
|
build:
|
|
context: backend/exxetaGPT
|
|
dockerfile: ../../Dockerfile
|
|
env_file:
|
|
- .env
|