<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI on 自建 VPS 服务器的一些攻略</title><link>https://selfhostvps.github.io/tags/ai/</link><description>Recent content in AI on 自建 VPS 服务器的一些攻略</description><generator>Hugo</generator><language>zh-CN</language><copyright>Copyright © 2025, Jane Doe.</copyright><lastBuildDate>Sun, 08 Mar 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://selfhostvps.github.io/tags/ai/index.xml" rel="self" type="application/rss+xml"/><item><title>NextChat，个人 AI 浏览器界面</title><link>https://selfhostvps.github.io/post/5503-nextchat/</link><pubDate>Sun, 08 Mar 2026 00:00:00 +0000</pubDate><guid>https://selfhostvps.github.io/post/5503-nextchat/</guid><description>NextChat 可以让你架设一个网站，在自己的网站上，使用各家 AI 的 API key，支持 Claude、ChatGPT、Gemini、Deepseek 等模型。
Github：https://github.com/chatgptnextweb/nextchat 数据库依赖：无 中文版：有 开销： CPU &amp;lt; 1% 内存 &amp;lt; 100 MB Docker Image：65 MB 本地存储：0 当前最新版本：2.16.1 默认 docker 端口号：3000 本网站分配的端口号：5503 docker compose 目录结构
/DOCKERS/nextchat └── docker-compose.yml # 配置文件 docker-compose.yml，需要在配置里明文写出你使用的 AI 公司的 API key，和访问你的网站的密码。除非 VPS 没有被人侵入，这些信息不会被看到。更多环境变量，可以参考官网的说明。
services: chatgpt-next-web: container_name: chatgpt-next-web image: yidadaa/chatgpt-next-web:v2.16.1 restart: always ports: - 5503:3000 environment: # 可以设置多个密码，用逗号分隔 - CODE=password1,password2,password3 # 各家的 API key - OPENAI_API_KEY=123456 - GOOGLE_API_KEY=123456 - AZURE_API_KEY=123456 - ANTHROPIC_API_KEY=123456 - DEEPSEEK_API_KEY=123456 - BAIDU_SECRET_KEY=123456 - BYTEDANCE_API_KEY=123456 - ALIBABA_API_KEY=123456 # 默认使用的模型 - DEFAULT_MODEL=gpt-4o-mini 在 Nginx conf 配置文件中添加：</description></item></channel></rss>