# ogame **Repository Path**: firfe/ogame ## Basic Information - **Project Name**: ogame - **Description**: ogame-vue-ts 重新制作镜像 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-23 - **Last Updated**: 2026-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # OGame Vue TS 一款受经典 OGame 游戏启发的单机版、基于浏览器的太空策略游戏。在银河系中建立你的帝国,研究科技,建造舰船,参与史诗般的太空战斗。本项目采用现代 Web 技术构建,完全在浏览器中运行,提供流畅且响应迅速的游戏体验,所有数据都存储在本地。 [原项目README](README-原项目.md) - 原项目地址 - 官网 https://ogame-vue-ts.wenzi.games/ - GitHub仓库 https://github.com/setube/ogame-vue-ts - ghcr.io仓库 https://github.com/users/setube/packages/container/package/ogame-vue-ts - 我汉化和构建docker镜像的仓库 - GitHub仓库 https://github.com/Firfr/ogame - Gitee仓库 https://gitee.com/firfe/ogame - DockerHub https://hub.docker.com/r/firfe/ogame ## 汉化&修改&镜像制作 如果镜像拉取失败,请B站发私信,或提issues, 华为云上的镜像仓库默认推送的镜像不是公开的,有可能是我忘记设置公开了。 当前制作镜像版本(或截止更新日期):1.6.5 首先感谢原作者的开源。 原项目的docker镜像在github的仓库,拉取不便,镜像加速也不方便,重新制优化作了镜像,最终镜像只有1M左右,且镜像推送到了国内镜像仓库和DockerHub仓库中,方便拉取使用。 欢迎关注我B站账号 [秦曱凧](https://space.bilibili.com/17547201) (读作 qín yuē zhēng) 有需要帮忙部署这个项目的朋友,一杯奶茶,即可程远程帮你部署,需要可联系。 微信号 `E-0_0-` 闲鱼搜索用户 `明月人间` 或者邮箱 `firfe163@163.com` 如果这个项目有帮到你。欢迎start。也厚颜期待您的打赏。 如有其他问题,请提`issues`,或发送B站私信。 ## 镜像 从阿里云或华为云镜像仓库拉取镜像,注意填写镜像标签,镜像仓库中没有`latest`标签 容器内部端口`5178`。 - 国内仓库 - AMD64镜像 ```bash swr.cn-north-4.myhuaweicloud.com/firfe/ogame:1.6.5 ``` - ARM64镜像 ```bash swr.cn-north-4.myhuaweicloud.com/firfe/ogame:1.6.5-arm64 ``` - DockerHub仓库 - AMD64镜像 ```bash firfe/ogame:1.6.5 ``` - ARM64镜像 ```bash firfe/ogame:1.6.5-arm64 ``` ## 部署 ### docker run 命令部署 ```bash docker run -d \ --name ogame \ --network bridge \ --restart always \ --log-opt max-size=1m \ --log-opt max-file=1 \ -p 5178:5178 \ swr.cn-north-4.myhuaweicloud.com/firfe/ogame:1.6.5 ``` ### compose 文件部署 👍推荐 ```yaml #version: '3' name: ogame services: ogame: container_name: ogame image: swr.cn-north-4.myhuaweicloud.com/firfe/ogame:1.6.53 network_mode: bridge restart: always logging: options: max-size: 1m max-file: '1' ports: - 5178:5178 ``` ### 更多配置 - 指定端口 - docker run 命令 - 在命令末尾追加 `-p 端口` - compose - 添加与 `image` 同级配置 `command: ["-p", "自定义端口"]` ## 效果截图 ![游戏画面](图片/游戏画面.jpg)