V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ahsuia  ›  全部回复第 1 页 / 共 1 页
回复总数  3
@ahsuia 按楼主 docker-compose.yml 的文件部署就行,github 上拉下来的 docker-compose.yml 里有个 base_path: '/',这一行注释掉。运行正常。
另,领主可否考虑加一个打标签功能,用来分类不同的公众号
docker compose 部署的时候出现 werss-web-1 出现如下问题:

> [email protected] start
> next start
▲ Next.js 14.1.0
- Local: http://localhost:3000
Error: Specified basePath has to start with a /, found "'/'"
at assignDefaults (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/config.js:308:19)
at loadConfig (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/config.js:768:32)
at async initialize (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-server.js:51:20)
at async Server.<anonymous> (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/start-server.js:246:36)
Error: Specified basePath has to start with a /, found "'/'"
at assignDefaults (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/config.js:308:19)
at loadConfig (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/config.js:768:32)
at async initialize (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/router-server.js:51:20)
at async Server.<anonymous> (/app/web/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/next/dist/server/lib/start-server.js:246:36)
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2965 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms · UTC 13:13 · PVG 21:13 · LAX 05:13 · JFK 08:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.