Initial updates server repository commit.
Reinitialize repository history and exclude generated OTA artifact outputs. Made-with: Cursor
This commit is contained in:
16
start-docker.sh
Executable file
16
start-docker.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# expo-updates-server-go Docker 启动脚本
|
||||
# 使用前请确保已经构建好镜像: docker build -t carrot-bbs-updates-server:latest .
|
||||
|
||||
docker run -d \
|
||||
--name carrot-bbs-updates-server \
|
||||
-p 3001:3001 \
|
||||
-e PORT=3001 \
|
||||
-e HOSTNAME=http://127.0.0.1:3001 \
|
||||
-e UPDATES_ROOT=/data/updates \
|
||||
-e PRIVATE_KEY_PATH=/data/privatekey.pem \
|
||||
-e ADMIN_TOKEN=dev-token \
|
||||
-v /opt/carrot-bbs/updates:/data/updates \
|
||||
-v /opt/carrot-bbs/keys/privatekey.pem:/data/privatekey.pem:ro \
|
||||
carrot-bbs-updates-server:latest
|
||||
Reference in New Issue
Block a user