- Definition of extra eveai_ops service to run (db) jobs
- Definition of manifests for all jobs - Definition of manifests for all eveai services
This commit is contained in:
@@ -57,6 +57,51 @@ services:
|
||||
networks:
|
||||
- eveai-dev-network
|
||||
|
||||
eveai_ops:
|
||||
image: ${REGISTRY_PREFIX:-}josakola/eveai_ops:latest
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: ./docker/eveai_ops/Dockerfile
|
||||
ports:
|
||||
- 3002:8080 # Dev app volgens port schema
|
||||
expose:
|
||||
- 8000
|
||||
environment:
|
||||
<<: *common-variables
|
||||
COMPONENT_NAME: eveai_ops
|
||||
ROLE: web
|
||||
PORT: 8080
|
||||
WORKERS: 1 # Dev: lagere concurrency
|
||||
WORKER_CLASS: gevent
|
||||
WORKER_CONN: 100
|
||||
LOGLEVEL: debug # Lowercase voor gunicorn
|
||||
MAX_REQUESTS: 1000
|
||||
MAX_REQUESTS_JITTER: 100
|
||||
volumes:
|
||||
- ../eveai_ops:/app/eveai_ops
|
||||
- ../common:/app/common
|
||||
- ../content:/app/content
|
||||
- ../config:/app/config
|
||||
- ../migrations:/app/migrations
|
||||
- ../scripts:/app/scripts
|
||||
- ../patched_packages:/app/patched_packages
|
||||
- ./eveai_logs:/app/logs
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_healthy
|
||||
minio:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: [ "CMD", "curl", "-f", "http://localhost:8080/healthz/ready" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
networks:
|
||||
- eveai-dev-network
|
||||
|
||||
eveai_app:
|
||||
image: ${REGISTRY_PREFIX:-}josakola/eveai_app:latest
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user