mirror of
https://github.com/joeseesun/subcast.git
synced 2026-12-02 02:29:26 +08:00
- notarize(): capture notarytool output before matching; piping into grep -q killed tee with SIGPIPE and set -e aborted after Apple had accepted - updater signing: drop the exported key env so tauri signer accepts -f - server/deploy/docker-compose.yml: the API as deployed on myvps (node:22-alpine, data on the host) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
781 B
YAML
26 lines
781 B
YAML
# SubCast shared-subtitles API on myvps (Qiaomu servers run apps with Docker Compose under /opt/qiaomu-apps).
|
|
# Zero dependencies, so the stock Node image runs the code as is; the database lives in ./data on the host.
|
|
services:
|
|
subcast-api:
|
|
image: node:22-alpine
|
|
container_name: qiaomu-subcast-api
|
|
restart: unless-stopped
|
|
working_dir: /app
|
|
command: ["node", "src/server.js"]
|
|
env_file: .env
|
|
environment:
|
|
HOST: 0.0.0.0
|
|
PORT: 8787
|
|
DATA_DIR: /data
|
|
volumes:
|
|
- ./src:/app/src:ro
|
|
- ./package.json:/app/package.json:ro
|
|
- ./data:/data
|
|
ports:
|
|
- "127.0.0.1:8787:8787"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:8787/api/health"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|