-
Notifications
You must be signed in to change notification settings - Fork 16
PVE 乱入之LXC ‐ sub store
cooip-jm edited this page Nov 25, 2024
·
6 revisions
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
curl -sSL https://sub-store-org.github.io/resource/ssm/install.sh | bash
ssm new
ssm new -i
ssm update -n ssm-frontend
ssm update
https://xream.notion.site/Sub-Store-abe6a96944724dc6a36833d5c9ab7c87
https://github.com/sub-store-org/Sub-Store-Manager-Cli
https://github.com/doyoman/doyo/tree/main/sing-box
启用80前端和3000后端,lxc /root作为映射目录
docker run -d --name sub-store --network host --restart always -v /root:/opt/app/data -e SUB_STORE_BACKEND_CRON="0 0 * * *" -e SUB_STORE_FRONTEND_BACKEND_PATH="/" -e SUB_STORE_FRONTEND_HOST="0.0.0.0" -e SUB_STORE_FRONTEND_PORT="80" -e SUB_STORE_DATA_BASE_PATH="/opt/app/data" -e SUB_STORE_BACKEND_API_HOST="0.0.0.0" -e SUB_STORE_BACKEND_API_PORT="3000" -i -t xream/sub-store:latest
version: "3.8"
services:
sub-store:
image: xream/sub-store:latest
container_name: sub-store
network_mode: host
restart: always
volumes:
- /root:/opt/app/data
environment:
- SUB_STORE_BACKEND_CRON=0 0 * * *
- SUB_STORE_FRONTEND_BACKEND_PATH=/
- SUB_STORE_FRONTEND_HOST=0.0.0.0
- SUB_STORE_FRONTEND_PORT=80
- SUB_STORE_DATA_BASE_PATH=/opt/app/data
- SUB_STORE_BACKEND_API_HOST=0.0.0.0
- SUB_STORE_BACKEND_API_PORT=3000
stdin_open: true
tty: true