docker自建 Tabby Web 同步服务教程
注册 Github OAuth 应用
https://github.com/settings/applications/new
Authorization callback URL 设置为:https://
修改
获取 Client ID 和 Client secrets,。
Docker Compose
version: '3.0'
services:
tabby-web:
image: ghcr.io/eugeny/tabby-web:latest
container_name: tabby-web
restart: always
ports:
- '8000:8000'
volumes:
- ./data:/app-dist
environment:
- DATABASE_URL=sqlite:////app-dist/db.sqlite3
- PORT=8000
- DEBUG=False
- APP_DIST_STORAGE=file:///app-dist
- SOCIAL_AUTH_GITHUB_KEY=xxxxxx
- SOCIAL_AUTH_GITHUB_SECRET=xxxxxx
修改 SOCIAL_AUTH_GITHUB_KEY 为:Client ID
修改 SOCIAL_AUTH_GITHUB_SECRET为:Client secrets
运行docker
docker compose up -d
用法
访问
最新评论