{"id":24562604,"url":"https://github.com/humanbrainproject/seafile-compose","last_synced_at":"2025-08-28T17:38:28.388Z","repository":{"id":50185817,"uuid":"156243436","full_name":"HumanBrainProject/seafile-compose","owner":"HumanBrainProject","description":"A Docker Compose setup for Seafile","archived":false,"fork":false,"pushed_at":"2021-06-02T00:24:12.000Z","size":20,"stargazers_count":10,"open_issues_count":2,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-01-23T09:16:29.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HumanBrainProject.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}},"created_at":"2018-11-05T15:54:10.000Z","updated_at":"2021-05-14T13:48:20.000Z","dependencies_parsed_at":"2022-09-17T00:11:39.786Z","dependency_job_id":null,"html_url":"https://github.com/HumanBrainProject/seafile-compose","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/HumanBrainProject%2Fseafile-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fseafile-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fseafile-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fseafile-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanBrainProject","download_url":"https://codeload.github.com/HumanBrainProject/seafile-compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945623,"owners_count":20372897,"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":[],"created_at":"2025-01-23T09:16:33.815Z","updated_at":"2025-03-16T23:14:08.804Z","avatar_url":"https://github.com/HumanBrainProject.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Seafile compose\n\nThe project is intended for a quick developer environment for Seahub, while\nall necessary components live in their own containers.\n\nThere are separate containers for:\n* Mysql DB\n* CCNET-server\n* Seafile-server\n* Seahub\n\nAll containers except the DB are using the official Seafile release downloads,\nwhere the version is specified in the Dockerfile.\n\n## Run compose\n\n```\ndocker-compose \\\n  -f docker-compose.yaml \\\n  up \\\n  --force-recreate \\\n  --renew-anon-volumes \\\n  --build\n```\n\n### Create a superuser\n\nIn a new terminal, from the project root, run:\n\n`docker-compose exec seahub python /opt/seafile/seafile-server-latest/seahub/manage.py createsuperuser`\n\n### Access your Seafile instance\n\nThis will get you the upstream vanilla version of Seafile listening on\nhttp://localhost:8000, with no customizations. You can login using the\nsuperuser you just created.\n\n### Changing the version\n\nEdit the Dockerfile in `seafile_dev_docker/Dockerfile` and change\n`SEAFILE_VERSION=X.Y.Z` to an [available version](https://www.seafile.com/en/home/).\n\n## Run local copy of Seahub with ipdb\n\nClone the Seahub repository into the local folder `seahub`\n([clone](https://github.com/haiwen/seahub.git) or symlink), it will be\nmounted on the seahub container to override the version that ships\nwith the official release.\n\nTo run the local copy of Seahub with Docker Compose run\n\n```\ndocker-compose \\\n  -f docker-compose.yaml \\\n  -f docker-compose.dev.yaml \\\n  up \\\n  --force-recreate \\\n  --renew-anon-volumes \\\n  --build\n```\n\nThis will get you the a custom version of Seahub listening on\nhttp://localhost:8000, using the upstream vanilla versions of\nSeafile-server and CCNET-server. This container also includes\n[ipdb](https://pypi.org/project/ipdb/) for debugging.\n\nThen if you want to use `ipdb.set_trace()` to debug your version\nyou have to restart the Seahub container as follows:\n\n```\ndocker-compose stop seahub\ndocker-compose run --service-ports seahub\n```\n\nThat's it. The Seahub service will now run in the foreground and you\nshould get an interactive debugging shell when reaching a breakpoint.\nChanging your Seahub code should trigger Django to reload so you don't\nhave to restart the container after every change.\n\n\n## Useful for compose debugging\n\nWhen `up` fails you can try to debug by\nrunning bash on the image and attaching volumes and networks:\n\n```\ndocker run \\\n  --rm \\\n  -it \\\n  --entrypoint /bin/bash \\\n  -v seafile-compose_sockets:/opt/seafile/sockets \\\n  --network seafile-compose_default\\\n  seafile:dev\n```\n\nThen try the compose service command that fails and see what's wrong.\n\n## Acknowledgement\n\nThis open source software code was developed in part or in whole in the Human Brain Project, funded from the European Union’s Horizon 2020 Framework Programme for Research and Innovation under the Specific Grant Agreement No. 785907 (Human Brain Project SGA2).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanbrainproject%2Fseafile-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumanbrainproject%2Fseafile-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanbrainproject%2Fseafile-compose/lists"}