Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 743 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 743 Bytes

Coffee

A Content Manger System based on Violet

Demo

中文简介

Using

部署MongoDB

填写配置文件

Mongo:
  Host: 0.0.0.0
  Port: 27890
  User: username
  Password: password
  Name: coffee
Server:
  Host: 127.0.0.1
  Port: 30070
  Dev: true
  ThumbDir: ./Thumb
  UserDir: ./UserData
  TempDir: ./Temp
Violet:
  ClientID: xxxxxxxx
  ClientKey: xxxxxxxxxx
  ServerHost: https://oauth.xmatrix.studio/api/v2
  LoginURL: https://oauth.xmatrix.studio/Verify/Authorize

使用Docker打包镜像

docker build -t coffee .

运行

docker run -p 30070:30070 --name coffee_server -d coffee:latest