chore(compose): comment out flynn service for systemd runtime
This commit is contained in:
+35
-31
@@ -1,34 +1,34 @@
|
|||||||
services:
|
services:
|
||||||
flynn:
|
# flynn:
|
||||||
build: .
|
# build: .
|
||||||
container_name: flynn
|
# container_name: flynn
|
||||||
restart: unless-stopped
|
# restart: unless-stopped
|
||||||
ports:
|
# ports:
|
||||||
- "18800:18800"
|
# - "18800:18800"
|
||||||
volumes:
|
# volumes:
|
||||||
# Persistent data (sessions DB, memory store)
|
# # Persistent data (sessions DB, memory store)
|
||||||
- flynn-data:/data
|
# - flynn-data:/data
|
||||||
# Mount your config file
|
# # Mount your config file
|
||||||
- ./config/default.yaml:/config/config.yaml:ro
|
# - ./config/default.yaml:/config/config.yaml:ro
|
||||||
environment:
|
# environment:
|
||||||
# Required: at least one model provider API key
|
# # Required: at least one model provider API key
|
||||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
# - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
||||||
# Optional: additional provider keys
|
# # Optional: additional provider keys
|
||||||
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
# - OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
||||||
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
|
# - OPENROUTER_API_KEY=${OPENROUTER_API_KEY:-}
|
||||||
- GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
|
# - GOOGLE_API_KEY=${GOOGLE_API_KEY:-}
|
||||||
# Optional: Telegram integration
|
# # Optional: Telegram integration
|
||||||
- FLYNN_TELEGRAM_TOKEN=${FLYNN_TELEGRAM_TOKEN:-}
|
# - FLYNN_TELEGRAM_TOKEN=${FLYNN_TELEGRAM_TOKEN:-}
|
||||||
# Optional: Discord integration
|
# # Optional: Discord integration
|
||||||
- DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN:-}
|
# - DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN:-}
|
||||||
# Optional: Gateway auth token
|
# # Optional: Gateway auth token
|
||||||
- FLYNN_SERVER_TOKEN=${FLYNN_SERVER_TOKEN:-}
|
# - FLYNN_SERVER_TOKEN=${FLYNN_SERVER_TOKEN:-}
|
||||||
healthcheck:
|
# healthcheck:
|
||||||
test: ["CMD", "wget", "-qO-", "http://localhost:18800/"]
|
# test: ["CMD", "wget", "-qO-", "http://localhost:18800/"]
|
||||||
interval: 30s
|
# interval: 30s
|
||||||
timeout: 5s
|
# timeout: 5s
|
||||||
start_period: 15s
|
# start_period: 15s
|
||||||
retries: 3
|
# retries: 3
|
||||||
|
|
||||||
# Optional local dependency: whisper.cpp server for audio transcription.
|
# Optional local dependency: whisper.cpp server for audio transcription.
|
||||||
# Start with: docker compose --profile voice up -d whisper-server
|
# Start with: docker compose --profile voice up -d whisper-server
|
||||||
@@ -56,7 +56,11 @@ services:
|
|||||||
- --inference-path
|
- --inference-path
|
||||||
- /v1/audio/transcriptions
|
- /v1/audio/transcriptions
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/ >/dev/null 2>&1 || exit 1"]
|
test:
|
||||||
|
[
|
||||||
|
"CMD-SHELL",
|
||||||
|
"curl -f http://localhost:8080/ >/dev/null 2>&1 || exit 1",
|
||||||
|
]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
start_period: 15s
|
start_period: 15s
|
||||||
|
|||||||
Reference in New Issue
Block a user