This commit is contained in:
xds
2026-02-06 14:07:10 +03:00
parent 37e69088a1
commit cdb09e84fc
20 changed files with 470 additions and 30 deletions

View File

@@ -4,6 +4,26 @@ services:
container_name: ai-bot
build:
context: .
network: host
network_mode: host
# УБРАЛИ network_mode: host
ports:
- "8090:8090" # Вернули проброс порта
restart: unless-stopped
depends_on:
- minio
environment:
# Важно: внутри докера к другим контейнерам обращаемся по имени сервиса!
MINIO_ENDPOINT: "http://minio:9000"
minio:
image: minio/minio:latest
container_name: minio
restart: unless-stopped
command: server /data --console-address ":9001"
environment:
MINIO_ROOT_USER: admin
MINIO_ROOT_PASSWORD: SuperSecretPassword123!
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./minio_data:/data