{"id":24995376,"url":"https://github.com/reddiedev/docker-scripts","last_synced_at":"2026-01-07T21:46:08.068Z","repository":{"id":275279270,"uuid":"826784929","full_name":"reddiedev/docker-scripts","owner":"reddiedev","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-24T18:01:49.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T18:37:49.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/reddiedev.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":"2024-07-10T11:23:20.000Z","updated_at":"2025-02-24T18:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"cccfda97-075f-41aa-8cac-9764eccc308a","html_url":"https://github.com/reddiedev/docker-scripts","commit_stats":null,"previous_names":["reddiedev/docker-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdocker-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdocker-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdocker-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdocker-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddiedev","download_url":"https://codeload.github.com/reddiedev/docker-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200300,"owners_count":20739563,"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-02-04T15:36:37.244Z","updated_at":"2026-01-07T21:46:08.040Z","avatar_url":"https://github.com/reddiedev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assorted Docker Scripts\n\na set of commonly used docker scripts by [@reddiedev](https://github.com/reddiedev)\n\n### Deploy Postgres via Docker CLI\n\n```bash\ndocker run --name \u003cname\u003e -v pg_data:/var/lib/postgresql/data -p 5432:5432 -e POSTGRES_PASSWORD=\u003cpassword\u003e --restart unless-stopped -d postgres\n\npg_dump -U user -h host -p port -d database -Fc -x -f file.dump\npg_restore -U user -h host -p port -d database --no-owner -1 file.dump\n```\n\n### Deploy Discord Bot via Docker CLI\n\n```bash\ndocker build . --tag \u003cusername\u003e/\u003cimage\u003e\ndocker run -d --name \u003capp\u003e --env-file ./.env \u003cusername\u003e/\u003cimage\u003e\n```\n\n### Deploy Ollama\n\n```bash\ndocker run -d --gpus=all -v ollama:/root/.ollama -e OLLAMA_HOST=0.0.0.0 -e OLLAMA_KEEP_ALIVE=24h -p 11434:11434 --name ollama ollama/ollama\n```\n\n### Deploy Open-webui\n\n```bash\ndocker run -d -p 3001:8080 -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --network=host --name open-webui ghcr.io/open-webui/open-webui:main\n\n```\n\n### Deploy OpenWebUI with Ollama\n\n```bash\ndocker run -d -p 3001:8080 -e OLLAMA_KEEP_ALIVE=24h --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama\ndocker pull ghcr.io/open-webui/open-webui:ollama\ndocker rm -f open-webui\n```\n\n### Deploy Redis\n\n```bash\ndocker run -d --name \u003cname\u003e -v \u003cloc\u003e:/data -p 6379:6379 -e REDIS_ARGS=\"--requirepass mypassword\" redis/redis-stack-server:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddiedev%2Fdocker-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddiedev%2Fdocker-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddiedev%2Fdocker-scripts/lists"}