move do dinoV2

This commit is contained in:
a.ilin
2026-10-07 15:43:44 +03:00
parent a4a07b85ae
commit 21664fd770
36 changed files with 315 additions and 402 deletions
+7 -7
View File
@@ -18,14 +18,14 @@ services:
timeout: 3s
retries: 10
open_cv:
image: git.gorodar.ru/gorodar/open_cv:latest
dinov2:
image: ${GORODAR_DINOV2_IMAGE:-dino-v2:latest}
#ports:
# - "8010:8010"
# - "8011:8000"
#env_file: .env # секреты не коммитятся
environment:
PORT: 8010
APP_API_KEY: ${GORODAR_OPENCV_API_KEY}
PORT: 8000
APP_API_KEY: ${GORODAR_DINOV2_API_KEY}
restart: unless-stopped
deploy:
replicas: 1 # stateless: реплики за балансировщиком
@@ -54,8 +54,8 @@ services:
GORODAR_UNISENDER_API_KEY: ${GORODAR_UNISENDER_API_KEY:-}
GORODAR_UNISENDER_FROM_EMAIL: ${GORODAR_UNISENDER_FROM_EMAIL:-}
GORODAR_UNISENDER_FROM_NAME: ${GORODAR_UNISENDER_FROM_NAME:-Городар}
GORODAR_OPENCV_URL: ${GORODAR_OPENCV_URL:-http://localhost:8000}
GORODAR_OPENCV_API_KEY: ${GORODAR_OPENCV_API_KEY:-dev-key}
GORODAR_DINOV2_URL: ${GORODAR_DINOV2_URL:-http://localhost:8011}
GORODAR_DINOV2_API_KEY: ${GORODAR_DINOV2_API_KEY:-dev-key}
GORODAR_S3_ENDPOINT: ${GORODAR_S3_ENDPOINT:-http://localhost:9000}
GORODAR_S3_REGION: ${GORODAR_S3_REGION:-ru-central1}
GORODAR_S3_ACCESS_KEY: ${GORODAR_S3_ACCESS_KEY:-gorodar}