build: publish desktop installer via Gitea releases
Some checks failed
Build and tests / test (push) Has been cancelled
Some checks failed
Build and tests / test (push) Has been cancelled
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
# ============================================
|
||||
|
||||
services:
|
||||
desktop-release:
|
||||
image: node:20-alpine
|
||||
container_name: wanwanyun-desktop-release
|
||||
restart: "no"
|
||||
working_dir: /workspace/frontend
|
||||
command: ["node", "scripts/sync-desktop-release.js"]
|
||||
volumes:
|
||||
- ./frontend:/workspace/frontend
|
||||
networks:
|
||||
- wanwanyun-network
|
||||
|
||||
# ============================================
|
||||
# 后端服务
|
||||
# ============================================
|
||||
@@ -26,6 +37,9 @@ services:
|
||||
# - ADMIN_PASSWORD=<至少8位且至少包含两类字符的强密码>
|
||||
env_file:
|
||||
- ./backend/.env
|
||||
depends_on:
|
||||
desktop-release:
|
||||
condition: service_completed_successfully
|
||||
volumes:
|
||||
# 数据持久化
|
||||
- ./backend/data:/app/data
|
||||
@@ -64,7 +78,10 @@ services:
|
||||
# - /etc/letsencrypt:/etc/letsencrypt:ro
|
||||
# - ./certbot/www:/var/www/certbot:ro
|
||||
depends_on:
|
||||
- backend
|
||||
desktop-release:
|
||||
condition: service_completed_successfully
|
||||
backend:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- wanwanyun-network
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user