{"id":24564080,"url":"https://github.com/taskbjorn/docker-hexo","last_synced_at":"2025-07-26T11:42:05.851Z","repository":{"id":188889894,"uuid":"393169050","full_name":"taskbjorn/docker-hexo","owner":"taskbjorn","description":"Docker container for Hexo - a fast, simple and powerful blog framework powered by Node.js - based on Alpine Linux.","archived":false,"fork":false,"pushed_at":"2024-09-02T19:16:12.000Z","size":21,"stargazers_count":3,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T12:04:09.441Z","etag":null,"topics":["alpine","blogging","docker","docker-compose","hexo","linux","static-site-generator"],"latest_commit_sha":null,"homepage":"https://git.dsme.cc/taskbjorn/docker-hexo","language":"Dockerfile","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/taskbjorn.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":"2021-08-05T20:58:54.000Z","updated_at":"2024-09-04T07:26:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d7b5c860-f3b6-45fd-b355-3d10933b272d","html_url":"https://github.com/taskbjorn/docker-hexo","commit_stats":null,"previous_names":["taskbjorn/docker-hexo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskbjorn%2Fdocker-hexo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskbjorn%2Fdocker-hexo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskbjorn%2Fdocker-hexo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/taskbjorn%2Fdocker-hexo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/taskbjorn","download_url":"https://codeload.github.com/taskbjorn/docker-hexo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249771927,"owners_count":21323202,"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","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":["alpine","blogging","docker","docker-compose","hexo","linux","static-site-generator"],"created_at":"2025-01-23T10:16:58.724Z","updated_at":"2025-04-19T19:06:00.876Z","avatar_url":"https://github.com/taskbjorn.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick reference\n\n* **Maintained by:** [taskbjorn](https://github.com/taskbjorn)\n* **Official Git repository:** [docker-hexo on GitHub](https://github.com/taskbjorn/docker-hexo)\n\n# Supported tags and respective Dockerfile links\n\n* [`latest`, `5.2.0`](https://github.com/taskbjorn/docker-hexo/build/latest/Dockerfile)\n\n# What is `docker-hexo`?\n\n![docker-hexo](docker-hexo.png)\n\n`docker-hexo` is a Docker container for the Hexo blog framework based on Alpine Linux.\n\n# Running using Docker or Docker Compose\n\nTo run the container and persist data across container restarts, create a volume with a name of your choice (`hexo_data`, in this example) and run the following:\n\n```bash\ndocker volume create my_hexo_data\ndocker run -it --name my_hexo_container -p 4000:4000 -v hexo_data:/home/hexo/.hexo taskbjorn/hexo\n```\n\nYour blog will then be available at `http://0.0.0.0:4000` on your host.\n\nIf you use Docker Compose. you may use the example [Compose file](https://git.dsme.cc/taskbjorn/docker-hexo/compose/docker-compose.yml) provided in this repository. Make sure to adjust the configuration (container names, volume names, ports, etc.) to fit your needs.\n\n# How to use `docker-hexo`\n\nOn first run, the container initializes a new site in `/home/hexo/.hexo`. The static pages are then served through the integrated web server `hexo-server` running on the container port `4000`. If a pre-populated volume is mounted at `/home/hexo/.hexo`, then no new site is initialized and the pre-existing contents of the volume are served instead.\n\nTo use Hexo, you may run a command inside the Docker container as follows:\n\n```bash\ndocker exec my_hexo_container hexo \u003ccommand\u003e\n```\n\nYou can find the list of available commands on the [Commands](https://hexo.io/docs/commands.html) page of the official Hexo documentation.\n\nAlternatively, you may open an interactive shell which will start in the root of your blog and give you direct access to the `hexo` command:\n\n```bash\ndocker exec -it my_hexo_container sh\nhexo generate\n```\n\n# License\n\nThis image is licensed under [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).\n\nAs it is often the case with Docker images, some of the software contained in this image (e.g. the base image, software included in the base image, etc.) may be covered under a difference license.\n\nPlease remember it is your responsibility as the end-user to ensure that your use case complies with the licenses of all included software.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskbjorn%2Fdocker-hexo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftaskbjorn%2Fdocker-hexo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftaskbjorn%2Fdocker-hexo/lists"}