{"id":15187437,"url":"https://github.com/vizee/typecho-docker","last_synced_at":"2025-10-02T01:31:31.742Z","repository":{"id":89721680,"uuid":"52193370","full_name":"vizee/typecho-docker","owner":"vizee","description":"typecho docker files","archived":true,"fork":false,"pushed_at":"2018-03-30T03:46:20.000Z","size":4,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T08:33:33.841Z","etag":null,"topics":["docker","nginx","pgsql","typecho"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vizee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-02-21T06:04:00.000Z","updated_at":"2023-02-21T05:25:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fd3c319-1d1f-4ed1-9c2a-dabf04b4c315","html_url":"https://github.com/vizee/typecho-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vizee/typecho-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizee%2Ftypecho-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizee%2Ftypecho-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizee%2Ftypecho-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizee%2Ftypecho-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vizee","download_url":"https://codeload.github.com/vizee/typecho-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vizee%2Ftypecho-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277942684,"owners_count":25903112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-01T02:00:09.286Z","response_time":88,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","nginx","pgsql","typecho"],"created_at":"2024-09-27T18:22:07.121Z","updated_at":"2025-10-02T01:31:31.728Z","avatar_url":"https://github.com/vizee.png","language":"Shell","readme":"# typecho-docker\ntypecho + pgsql 镜像\n\n## 环境\n* docker\n* docker-compose\n\n**注意**: docker-compose 版本应与 docker 对应, 例如：docker-compose 1.3.x 对应 docker 1.6 以及以后版本\n\n## 构建\n```\n./build.sh\n```\n\n## 配置\n\n### 数据库\n镜像中默认配置博客使用 PGSQL, 相关环境变量在 `docker-compose.yml` 中设置\n\n[postgres配置](https://hub.docker.com/_/postgres/)\n\n### typecho\n默认情况下\n* 博客程序保存在当前目录下 `app` 文件夹中\n* 数据库文件保存在 `dbdata` 中\n* 端口映射到主机 80 端口, 在 `docker-compose.yml` 中配置\n* 镜像中 nginx 配置为 `nginx/typecho`\n* 数据库默认地址\n\n**注意**: 在构建完成并且容器运行后, 需要运行向导后可能需要手动创建 `config.inc.php`\n\n[端口配置](https://docs.docker.com/compose/compose-file/#ports)\n\n#### url重写\n已在nginx中配置, 直接在后台设置`设置/永久连接/是否使用地址重写功能`强制启用\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizee%2Ftypecho-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvizee%2Ftypecho-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvizee%2Ftypecho-docker/lists"}