first commit
This commit is contained in:
46
docker-compose.yml
Normal file
46
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user