一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
45 行
1.3 KiB
YAML
45 行
1.3 KiB
YAML
# Standalone docker-compose for Joplin Transcribe
|
|
#
|
|
# Uses SQLite for the queue (no external database needed).
|
|
# Data is stored in a named volume for proper permissions.
|
|
#
|
|
# Usage:
|
|
#
|
|
# 1. Download models:
|
|
# mkdir -p ./data/models
|
|
# wget -O ./data/models/Model-7.6B-Q4_K_M.gguf https://huggingface.co/openbmb/MiniCPM-o-2_6-gguf/resolve/main/Model-7.6B-Q4_K_M.gguf
|
|
# wget -O ./data/models/mmproj-model-f16.gguf https://huggingface.co/openbmb/MiniCPM-o-2_6-gguf/resolve/main/mmproj-model-f16.gguf
|
|
#
|
|
# 2. Configure:
|
|
# cp .env-transcribe-sample .env
|
|
# # Edit .env and set API_KEY
|
|
#
|
|
# 3. Run:
|
|
# docker compose -f docker-compose.transcribe.yml up
|
|
|
|
volumes:
|
|
transcribe-data:
|
|
|
|
services:
|
|
transcribe:
|
|
image: joplin/transcribe:amd64-latest
|
|
ports:
|
|
- "4567:4567"
|
|
volumes:
|
|
- transcribe-data:/data
|
|
- ./data/models:/data/models:ro
|
|
restart: unless-stopped
|
|
# Security: limit resources to prevent runaway processes
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 16G
|
|
cpus: '4'
|
|
# Security: read-only root filesystem
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
- /home/transcribe/.cache
|
|
env_file:
|
|
- .env
|