{"id":16843150,"url":"https://github.com/dgsb/docker-ikiwiki","last_synced_at":"2025-04-11T05:53:02.673Z","repository":{"id":150157006,"uuid":"99731463","full_name":"dgsb/docker-ikiwiki","owner":"dgsb","description":"A dockerized ikiwiki server","archived":false,"fork":false,"pushed_at":"2020-05-03T19:15:41.000Z","size":16,"stargazers_count":9,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T05:52:55.982Z","etag":null,"topics":["docker","ikiwiki"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgsb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["dgsb"]}},"created_at":"2017-08-08T20:03:00.000Z","updated_at":"2023-05-09T08:35:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9668498-9017-4405-9c63-772510972e80","html_url":"https://github.com/dgsb/docker-ikiwiki","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgsb%2Fdocker-ikiwiki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgsb%2Fdocker-ikiwiki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgsb%2Fdocker-ikiwiki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgsb%2Fdocker-ikiwiki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgsb","download_url":"https://codeload.github.com/dgsb/docker-ikiwiki/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351407,"owners_count":21089271,"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":["docker","ikiwiki"],"created_at":"2024-10-13T12:49:45.224Z","updated_at":"2025-04-11T05:53:02.657Z","avatar_url":"https://github.com/dgsb.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/dgsb"],"categories":[],"sub_categories":[],"readme":"# docker-ikiwiki\n## Overview\nThis dockerfile build a dockerized ikiwiki server.\nIkiwiki is a git backend based wiki engine.\nYou can find more information on ikiwiki [here](https://ikiwiki.info/)\n\nThe docker image is based on debian/jessie, the web server used is lighttpd.\nA ssh server is also started in order to be able to use the git workflow with ikiwiki.\nAn user can connect through ssh server with the user www-data.\nThe public part of a ssh key must be copied to the container in order to be able to reach it\nthrough ssh.\nA volume is required to make the initial data import to the container local repository.\n\n## How to build the image\nThe docker image can be built with this command:\n\n``\ndocker build -t ikiwiki:latest .\n``\n\n## How to run the container\n``\ndocker run -v \u003clocal git repository\u003e:/wiki -p 2222:22 -p 8080:80 ikiwiki:latest\n``\n\nThe container can also be run from the pre-built image\non [docker hub](https://hub.docker.com/r/dgsb/ikiwiki/) with this command:\n\n``\ndocker run -v \u003clocal git repository\u003e:/wiki -p 2222:22 -p 8080:80 dgsb/ikiwiki\n``\n\nThe wiki server will be accessible through:\n\n``\nhttp://127.0.0.1:8080\n``\n\nThe container repository can be added as a remote in the local git repository:\n\n``\ngit remote add docker ssh://www-data@127.0.0.1:2222/var/www/wiki.git\n``\n\n## How to setup the ssh key\n\nThe following commands makes the remote git repository accessible through ssh.\nThe key name may need to be updated to your specific usage.\n\n```\ndocker cp ${HOME}/.ssh/id_rsa.pub \"${container}\":/tmp/id_rsa.pub\ndocker exec $container install -d -m 700 -o www-data -g www-data /var/www/.ssh\ndocker exec $container install /tmp/id_rsa.pub /var/www/.ssh/authorized_keys\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgsb%2Fdocker-ikiwiki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgsb%2Fdocker-ikiwiki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgsb%2Fdocker-ikiwiki/lists"}