Open charley008 opened 2 hours ago
按文档来部署了docker版,好像没看到github账号登录 。 是不是还有什么地方需要添加的?
services: newsnow: image: ghcr.io/ourongxing/newsnow:latest container_name: newsnow restart: always ports: - '127.0.0.1:4444:4444' environment: - G_CLIENT_ID=afsdfdasfasdfhFF7fUQAka4P - G_CLIENT_SECRET=test485b32e3d46201d8ddd407b03 - JWT_SECRET=test485b32e3d46201d8ddd407b03 - INIT_TABLE=
emmm,因为登录按钮是否显示是靠 build 的时候读取环境变量来判断是否需要登录。所以你可能需要在本地 build docker 镜像。把这些数据填入 .env.server,等会我改一下吧,前端默认显示登录按钮。
.env.server
按文档来部署了docker版,好像没看到github账号登录 。 是不是还有什么地方需要添加的?