Deploy with Docker
First make sure you have installed Docker and Docker Compose.
Steps
Clone this repository on your server:
bashgit clone --depth=1 https://github.com/SubConv/SubConv.git cd SubConvRun
cp config.yaml.example config.yamlto create the runtime config file (required bydocker-compose.yml).Put your runtime changes in
config.yaml, then adjusttemplate/zju.yamlortemplate/general.yamlas needed. The container uses the template named byDEFAULT_TEMPLATE, which iszjuby default.Review the bundled
docker-compose.ymlif you want to change the published port or the mounted config/template paths. By default it mounts./config.yaml:/app/config.yamland./template:/app/template, soconfig.yamlmust exist before you rundocker compose up.Run
docker compose up -dto start the service.Enjoy