{"id":17009277,"url":"https://github.com/shridarpatil/frappe-docker","last_synced_at":"2025-03-22T16:30:57.301Z","repository":{"id":97590231,"uuid":"208714169","full_name":"shridarpatil/frappe-docker","owner":"shridarpatil","description":"Dockerizing frappe","archived":false,"fork":false,"pushed_at":"2024-07-25T05:52:53.000Z","size":88480,"stargazers_count":18,"open_issues_count":2,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T13:32:39.862Z","etag":null,"topics":["docker","frappe","frappe-bench","frappe-docker","frappe-framework"],"latest_commit_sha":null,"homepage":"https://frappe.io/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shridarpatil.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":"2019-09-16T05:06:27.000Z","updated_at":"2024-12-23T05:12:36.000Z","dependencies_parsed_at":"2024-07-25T05:48:38.499Z","dependency_job_id":"9e19e206-013f-41f3-957c-b6aae1ae6aaa","html_url":"https://github.com/shridarpatil/frappe-docker","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shridarpatil%2Ffrappe-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shridarpatil%2Ffrappe-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shridarpatil%2Ffrappe-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shridarpatil%2Ffrappe-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shridarpatil","download_url":"https://codeload.github.com/shridarpatil/frappe-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244986415,"owners_count":20543010,"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","frappe","frappe-bench","frappe-docker","frappe-framework"],"created_at":"2024-10-14T05:43:12.418Z","updated_at":"2025-03-22T16:30:56.973Z","avatar_url":"https://github.com/shridarpatil.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://zerodha.tech\"\u003e\u003cimg src=\"https://zerodha.tech/static/images/github-badge.svg\" align=\"right\" /\u003e\u003c/a\u003e\n# frappe-docker\nDockerizing frappe for production\n\nPrerequisites\n- ## Install \u003ca href=\"http://recordit.co/\" target=\"_blank\"\u003e**Docker**\u003c/a\u003e. \n\n## Clone \n```git@github.com:shridarpatil/frappe-docker.git```\n```cd  frappe-docker```\n\n## Pull docker image\n```docker pull shridh0r/frappe:\\\u003ctagname\\\u003e```\n\n## Run\nUpdate the same tag in docker compose file \n\n```docker-compose up\ndocker exec -it \u003capp-container-name\u003e /bin/sh\n\nbench reinstall\nbench build\n```\n## Build\nDocker compose build by default pull's frappe master branch \u003c/br\u003e\n``` docker-compose build ```\n\n#### Build args\n  - [x] FRAPPE_PATH - Frappe repo path  \n  - [x] FRAPPE_BRANCH - Branch name\n  - [x] FRAPPE_PYTHON - Python version\n  - [x] FRAPPE - Folde name\n  - [x] BENCH_BRANCH - Bench repo path\n  - [x] BENCH_PATH - Branch name\n\nSet frappe-path/branch dynamically by passing build-arg\n```\ndocker-compose build --build-arg FRAPPE_PATH=https://github.com/zerodhatech/frappe.git --build-arg FRAPPE_BRANCH=zero_v12\n```\n\n## Run\n```docker-compose up```\n\n## Create site\nExec into docker container and create new site\n\nCreate new-site\n```\nbench new-site site1.local --force --db-type postgres --db-root-username postgres --db-root-password root\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshridarpatil%2Ffrappe-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshridarpatil%2Ffrappe-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshridarpatil%2Ffrappe-docker/lists"}