Files
bifrost/docker-compose.yml
Beyhan Oğur 880f412e2c first commit
2026-04-26 21:52:23 +03:00

47 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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