chore: update env config, docker-compose, requirements and bucket init

This commit is contained in:
2026-02-21 16:29:26 +00:00
parent 243cf7b657
commit 2b7d52b5ae
5 changed files with 27 additions and 17 deletions
+9 -8
View File
@@ -10,7 +10,7 @@ services:
networks:
- kevlarai-network
healthcheck:
test: ["CMD", "redis-cli", "ping"]
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 3s
retries: 5
@@ -26,16 +26,16 @@ services:
environment:
- REDIS_HOST=redis
- RUN_INIT=true
- INIT_MODE=${INIT_MODE:-infra} # Set via .env or override: INIT_MODE=infra,gais-data
- INIT_ONLY=true # Exit after init, don't start server
command: ["./docker-entrypoint.sh", "init-only"]
- INIT_MODE=${INIT_MODE:-infra} # Set via .env or override: INIT_MODE=infra,gais-data
- INIT_ONLY=true # Exit after init, don't start server
command: [ "./docker-entrypoint.sh", "init-only" ]
depends_on:
redis:
condition: service_healthy
networks:
- kevlarai-network
profiles:
- init # Only run when explicitly requested: docker compose --profile init up
- init # Only run when explicitly requested: docker compose --profile init up
backend:
container_name: api
@@ -46,10 +46,10 @@ services:
- .env
environment:
- REDIS_HOST=redis
- RUN_INIT=${RUN_INIT:-false} # Set to 'true' to run init on startup
- INIT_MODE=${INIT_MODE:-infra} # Which init tasks to run
- RUN_INIT=${RUN_INIT:-false} # Set to 'true' to run init on startup
- INIT_MODE=${INIT_MODE:-infra} # Which init tasks to run
ports:
- 8000:8000
- 8080:8080
depends_on:
redis:
condition: service_healthy
@@ -59,6 +59,7 @@ services:
volumes:
redis-data:
networks:
kevlarai-network:
name: kevlarai-network