├── .gitignore ├── LICENSE ├── README.md ├── docker-compose.yml └── screenshots ├── homepage.png └── settings.png /.gitignore: -------------------------------------------------------------------------------- 1 | data -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Su Yang 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Docker Flame 2 | 3 | 简洁美观的个人启动页,适用于 HomeLab 爱好者的中文化的自部署版本。 4 | 5 | 6 | ## 注意 7 | 8 | **如果你喜欢 Flame,希望有更好的性能,希望数据存储更加透明,可以试试 `docker-flare` 🌟 项目。** 9 | 10 | 项目地址:https://github.com/soulteary/docker-flare 11 | 12 | ## 相对于原版的调整 13 | 14 | - 简化程序功能和依赖(如K8S),减少软件包体积,重构了一些细节逻辑,简化应用启动流程。 15 | - 重写了天气获取逻辑,使用城市名称替换经纬度来获取天气数据。 16 | - 对程序已有的一些小 BUG 进行了修复,支持中文搜索。 17 | - 对程序进行了简单的汉化。 18 | 19 | ## 界面预览 20 | 21 | ![首页示例](./screenshots/homepage.png) 22 | 23 | ![设置页面](./screenshots/settings.png) 24 | 25 | ## 感谢 26 | 27 | 感谢 @pawelmalak 和原始项目 https://github.com/pawelmalak/flame 🎉 28 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3.6' 2 | 3 | services: 4 | flame: 5 | image: soulteary/flame:2.2.0 6 | container_name: flame 7 | volumes: 8 | - ./data:/app/data 9 | # 如果需要 Docker 集成,可选择开启 10 | # - /var/run/docker.sock:/var/run/docker.sock 11 | ports: 12 | - 5005:5005 13 | # 如果想使用 Docker Secrets,可选择开启 14 | # secrets: 15 | # - password # optional but required for (1) 16 | environment: 17 | - NODE_ENV=production 18 | # 默认管理密码 19 | - PASSWORD=flame_password 20 | # 如果想使用 Docker Secrets,可选择开启 21 | # - PASSWORD_FILE=/run/secrets/password # optional but required for (1) 22 | restart: always 23 | 24 | # 如果想使用 Docker Secrets,可选择开启 25 | # secrets: 26 | # password: 27 | # file: /path/to/secrets/password -------------------------------------------------------------------------------- /screenshots/homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soulteary/docker-flame/db42b67501313fa87b81b2ac3bebf27f521d2789/screenshots/homepage.png -------------------------------------------------------------------------------- /screenshots/settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/soulteary/docker-flame/db42b67501313fa87b81b2ac3bebf27f521d2789/screenshots/settings.png --------------------------------------------------------------------------------