
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
A fully self-contained Enshrouded dedicated server with a built-in web control panel. Built by bejarrodar.com — no config file editing required.
This image bundles everything you need to run and manage an Enshrouded dedicated server in a single container:
yamlservices: enshrouded: image: bejarrodar/enshrouded-server:latest container_name: enshrouded-server restart: unless-stopped ports: - "15636:15636/udp" # Game port — forward this on your router - "15637:15637/udp" # Query port — for Steam server browser - "8888:8888/tcp" # BearAndPie web panel volumes: - ./game-data:/game environment: - SERVER_NAME=My Enshrouded Server - SERVER_PASSWORD= - SLOT_COUNT=16 - AUTOSTART_SERVER=true - GUI_PASSWORD=changeme - GUI_SECRET_KEY=replace_with_a_random_string stop_grace_period: 90s
Then open http://localhost:8888 and sign in with username admin and the password you set for GUI_PASSWORD.
First boot takes 15–30 minutes — SteamCMD downloads ~8 GB of game files. Subsequent starts are fast.
Start, stop, and restart the game server with one click directly from the browser. No SSH or command line needed.
Real-time server log output streamed to the browser via WebSocket. Color-coded for errors, warnings, and key events. Includes auto-scroll and a clear button.
Every setting in enshrouded_server.json is exposed through a visual UI — no JSON editing required:
Settings are saved with automatic backups and a restart pro***.
The panel supports multiple user accounts, each with their own username and password. Four built-in roles control what each user can do:
| Role | View Logs | Change Settings | Manage Mods | Start/Stop Server | Manage Users |
|---|---|---|---|---|---|
| Viewer | ✅ | — | — | — | — |
| Moderator | ✅ | ✅ | ✅ | — | — |
| Admin | ✅ | ✅ | ✅ | ✅ | — |
| Superadmin | ✅ | ✅ | ✅ | ✅ | ✅ |
The first superadmin account is created automatically on first boot using GUI_PASSWORD.
Browse the full Nexus Mods catalogue for Enshrouded directly inside the panel — no API key required. Users log into their own Nexus account inside the embedded browser, browse normally, and track mods using the built-in tracker. Installed mods are listed with enable/disable toggles and removal controls.
Every action taken through the panel is recorded — logins, config saves, server starts/stops, mod installs, and user changes — with timestamps and usernames. Full audit trail for shared servers.
| Variable | Default | Description |
|---|---|---|
SERVER_NAME | Enshrouded Server | Name shown in the server browser |
SERVER_PASSWORD | (blank) | Join password — leave blank for public |
SLOT_COUNT | 16 | Max players (1–16) |
GAME_PORT | 15636 | UDP game port |
QUERY_PORT | 15637 | UDP query port for server browser |
AUTOSTART_SERVER | true | Start game server automatically on container boot |
| Variable | Default | Description |
|---|---|---|
GUI_PASSWORD | admin | Password for the default superadmin account — change this |
GUI_SECRET_KEY | (random) | Signs session cookies. Set a fixed value to keep sessions across restarts |
GUI_PORT | 8888 | Internal port the web panel listens on |
| Port | Protocol | Purpose |
|---|---|---|
15636 | UDP | Game traffic — forward this on your router for players to connect |
15637 | UDP | Steam server browser query — forward this to appear in the server list |
8888 | TCP | BearAndPie web control panel |
Mount a single directory to /game to persist everything:
/game/ ├── server/ # Game server files (managed by SteamCMD) │ ├── enshrouded_server.json # Live config file │ └── savegame/ # World save files ← back this up! ├── logs/ # Server and panel logs └── bearandpie.db # User accounts and activity log (SQLite)
Back up /game/server/savegame/ regularly. Everything else can be regenerated.
Enshrouded server files are updated automatically every time the container restarts — SteamCMD checks for updates on boot. To force an update, simply restart the container from the web panel or with:
bashdocker compose restart
| Resource | Minimum | Recommended |
|---|---|---|
| CPU | 4 cores | 6+ cores |
| RAM | 8 GB | 12+ GB |
| Disk | 15 GB free | 20+ GB free |
| Upload | 2 Mbps per player | 5 Mbps per player |
To let players outside your local network connect, forward **UDP ***** (and optionally UDP *** for the server browser) on your router to the machine running this container.
Players connect via: Direct Connect → your-public-ip:15636
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
来自真实用户的反馈,见证轩辕镜像的优质服务