first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 21:52:23 +03:00
commit 880f412e2c
2662 changed files with 866266 additions and 0 deletions

46
docker-compose.yml Normal file
View File

@@ -0,0 +1,46 @@
services:
bifrost:
build:
context: .
dockerfile: transports/Dockerfile.local
args:
VERSION: local
container_name: bifrost
ports:
- "8745:8080"
networks:
- dokploy-network
volumes:
- bifrost_data:/app/data
- ./config.json:/app/data/config.json:ro
environment:
- APP_PORT=8080
- APP_HOST=0.0.0.0
- LOG_LEVEL=info
- LOG_STYLE=json
- OPENAI_API_KEY=${OPENAI_API_KEY}
- REDIS_ADDR=${REDIS_ADDR}
- REDIS_USERNAME=${REDIS_USERNAME}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- REDIS_DB=${REDIS_DB}
# Performans ayarları (ihtiyaca göre aç):
# - GOGC=200
# - GOMEMLIMIT=3600MiB
ulimits:
nofile:
soft: 65536
hard: 65536
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "-O", "/dev/null", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
start_period: 10s
retries: 3
restart: unless-stopped
volumes:
bifrost_data:
driver: local
networks:
dokploy-network:
external: true