{"id":22413099,"url":"https://github.com/neilgupta/selfhosted","last_synced_at":"2025-03-27T03:24:38.163Z","repository":{"id":142697450,"uuid":"613141926","full_name":"neilgupta/selfhosted","owner":"neilgupta","description":"My self-hosted docker services","archived":false,"fork":false,"pushed_at":"2024-02-25T06:50:16.000Z","size":115,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-01T08:47:53.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://neil.gg/uses","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neilgupta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-03-13T01:12:45.000Z","updated_at":"2024-02-04T17:52:40.000Z","dependencies_parsed_at":"2023-12-28T21:58:03.607Z","dependency_job_id":"1142329b-09fd-47c5-b2df-2acb43eb7163","html_url":"https://github.com/neilgupta/selfhosted","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/neilgupta%2Fselfhosted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilgupta%2Fselfhosted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilgupta%2Fselfhosted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neilgupta%2Fselfhosted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neilgupta","download_url":"https://codeload.github.com/neilgupta/selfhosted/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245774661,"owners_count":20669988,"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":"2024-12-05T14:11:52.103Z","updated_at":"2025-03-27T03:24:38.127Z","avatar_url":"https://github.com/neilgupta.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# selfhosted\n\nThese are services I self-host on my local network.\n\n## Services\n\n* [paperless](https://docs.paperless-ngx.com) - document manager\n* [uptime-kuma](https://github.com/louislam/uptime-kuma) - health monitor for my other services\n* [Nginx Proxy Manager](https://nginxproxymanager.com) - proxy hosts to different services\n* [Starbase 80](https://github.com/notclickable-jordan/starbase-80) - a nice dashboard\n* [Whisper ASR](https://github.com/ahmetoner/whisper-asr-webservice/) - API server to access Whisper model\n* [Ollama](https://ollama.ai) - API server to access open-source LLM models\n\n## Backup\n\nAutomatic backups are handled with [docker-volume-backup](https://github.com/offen/docker-volume-backup#recurring-backups-in-a-compose-setup)\n\n## Notes to self\n\nTo copy data from one volume to another, use the following command:\n\n```bash\ndocker run --rm -it -v uptime-kuma:/from -v uptime-kuma_uptime-kuma:/to alpine ash -c \"cd /from ; cp -av . /to\"\n```\n\nTo update an image, we must first delete the local image or hard-code the image version:\n\n```bash\ndocker-compose down -rmi all\ndocker-compose up -d\n```\n\nTo load TS script:\n\n```bash\ncp gg.neil.ts.plist ~/Library/LaunchAgents/gg.neil.ts.plist\nlaunchctl load ~/Library/LaunchAgents/gg.neil.ts.plist\nlaunchctl list | grep gg.neil\n```\n\nThe last command confirms it is correctly loaded and running\n\n### Ollama setup\n\nAfter downloading Ollama, download your preferred model (currently I use mistral with my 8gb of VRAM):\n\n```bash\nollama pull mistral\n```\n\nAlso configure remote access to the server (safe to do only because my machine is not public-facing):\n\n```bash\nlaunchctl setenv OLLAMA_HOST \"0.0.0.0\"\nlaunchctl setenv OLLAMA_ORIGINS \"*\"\n```\n\nThen restart ollama.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneilgupta%2Fselfhosted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneilgupta%2Fselfhosted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneilgupta%2Fselfhosted/lists"}