{"id":33139328,"url":"https://github.com/RammusXu/docker-hexo","last_synced_at":"2025-11-20T05:02:29.759Z","repository":{"id":84494361,"uuid":"97181427","full_name":"RammusXu/docker-hexo","owner":"RammusXu","description":"Dockerize hexo-cli","archived":false,"fork":false,"pushed_at":"2020-07-29T06:22:05.000Z","size":7,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T16:12:44.256Z","etag":null,"topics":["blog","docker","hexo"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/rammusxu/docker-hexo","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RammusXu.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}},"created_at":"2017-07-14T01:53:25.000Z","updated_at":"2024-09-16T04:03:43.000Z","dependencies_parsed_at":"2024-03-07T08:47:42.020Z","dependency_job_id":null,"html_url":"https://github.com/RammusXu/docker-hexo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RammusXu/docker-hexo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RammusXu%2Fdocker-hexo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RammusXu%2Fdocker-hexo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RammusXu%2Fdocker-hexo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RammusXu%2Fdocker-hexo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RammusXu","download_url":"https://codeload.github.com/RammusXu/docker-hexo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RammusXu%2Fdocker-hexo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285375203,"owners_count":27161007,"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-11-20T02:00:05.334Z","response_time":54,"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":["blog","docker","hexo"],"created_at":"2025-11-15T12:00:26.479Z","updated_at":"2025-11-20T05:02:29.753Z","avatar_url":"https://github.com/RammusXu.png","language":"Shell","funding_links":[],"categories":["Deployment"],"sub_categories":["External Resources"],"readme":"Before you run commands below, remember to replace `-v /Users/rammus/workspace/rammusxu.github.io:/blog` to yourself project path.\n\n### First Run\n\nMount your hexo project and install dependent packages.\n\n```\ndocker run --rm --name hexo \\\n    -p 4000:4000 \\\n    -v /Users/rammus/workspace/rammusxu.github.io:/blog \\\n    rammusxu/docker-hexo install\n```\n\n### Start Server - For Debug\n\nTest command, then remove the container.\n\n```\ndocker run --rm --name hexo \\\n    -p 4000:4000 \\\n    -v /Users/rammus/workspace/rammusxu.github.io:/blog \\\n    rammusxu/docker-hexo\n```\n\n### Start Server\n\nStart server in background.\n\n```\ndocker run -d --name hexo \\\n    -p 4000:4000 \\\n    -v /Users/rammus/workspace/rammusxu.github.io:/blog \\\n    rammusxu/docker-hexo\n```\n\n### Deploy\n\nDeploy to git, you must set `GIT_EMAIL` and `GIT_NAME`\n\n```\ndocker run --rm \\\n    -e GIT_EMAIL=\"comte_ken@hotmail.com\" \\\n    -e GIT_NAME=\"Rammus Xu\" \\\n    -v \"/Users/rammus/.ssh:/root/.ssh\" \\\n    -v \"$PWD\":/blog \\\n    rammusxu/docker-hexo deploy\n```\n\n### Run Other Commands\n\nYou can execute other command after `rammusxu/docker-hexo`.\n\n```\ndocker run --rm --name hexo \\\n    -p 4000:4000 \\\n    -v /Users/rammus/workspace/rammusxu.github.io:/blog \\\n    rammusxu/docker-hexo hexo help\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRammusXu%2Fdocker-hexo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRammusXu%2Fdocker-hexo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRammusXu%2Fdocker-hexo/lists"}