{"id":19456839,"url":"https://github.com/fengxw/sandbox-deploy","last_synced_at":"2026-05-04T09:32:44.611Z","repository":{"id":100508231,"uuid":"89655466","full_name":"fengxw/sandbox-deploy","owner":"fengxw","description":"Docker and Docker compose","archived":false,"fork":false,"pushed_at":"2017-05-03T05:40:28.000Z","size":71388,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T23:04:19.431Z","etag":null,"topics":["docker","docker-compose","php","shell"],"latest_commit_sha":null,"homepage":null,"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/fengxw.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":"2017-04-28T01:33:01.000Z","updated_at":"2017-05-04T20:04:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd7577d7-0613-42cf-ad79-f4cd719595cc","html_url":"https://github.com/fengxw/sandbox-deploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fengxw/sandbox-deploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengxw%2Fsandbox-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengxw%2Fsandbox-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengxw%2Fsandbox-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengxw%2Fsandbox-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fengxw","download_url":"https://codeload.github.com/fengxw/sandbox-deploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengxw%2Fsandbox-deploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32601529,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","docker-compose","php","shell"],"created_at":"2024-11-10T17:18:41.540Z","updated_at":"2026-05-04T09:32:44.593Z","avatar_url":"https://github.com/fengxw.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"It's demo to show you how to build your local dev environment by docker, and manage your docker images and containers by docker compose.To get more info [here](http://onlyfeng.com/sandbox-deploy/).\n\n# Warming-Up\n## Centos install docker\n\n```\n- login sandbox account and swich to root\n  - sudo su - (pwd)\n- yum install docker\n- service docker start\n- exit (go back to sandbox account)\n- service docker start\n```\n\n## Install docker-compose\n\n```\nmv data/docker-compose /usr/local/bin/docker-compose\nchmod +x /usr/local/bin/docker-compose\n```\n\nor we can download newest verision from the internet\n\n```\ncurl -L https://github.com/docker/compose/releases/download/1.8.1/docker-compose-`uname -s`-`uname -m` \u003e /usr/local/bin/docker-compose\nchmod +x /usr/local/bin/docker-compose\n```\n\n## Pull latest sandbox-deploy script and source code\n\n- pull latest sandbox-deploy script to your home directory\n- pull latest sandbox code to source code folder in directory of sandbox-deploy\n\n# Create App server\n\n## Generate docker-compose.yml file\n\n```\n./make.sh\n```\n\n## Build docker images and start containers\n\n```\ndocker-compose up -d\n```\n\n## Create database and user\n\n```\nsudo docker exec -it sandbox_db bash\nmysql -uroot -proot\nCREATE DATABASE sandbox_db;\nCREATE DATABASE openfire;\nCREATE USER sandbox IDENTIFIED BY 'sandbox';\nGRANT ALL ON sandbox_db.* TO 'sandbox'@'sandbox_app' IDENTIFIED BY 'sandbox';\nGRANT ALL ON sandbox_db.* TO 'sandbox'@'%' IDENTIFIED BY 'sandbox';\nGRANT ALL ON openfire.* TO 'sandbox'@'sandbox_app' IDENTIFIED BY 'sandbox';\nGRANT ALL ON openfire.* TO 'sandbox'@'%' IDENTIFIED BY 'sandbox';\n```\n\nNormally, the app server should work now.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengxw%2Fsandbox-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffengxw%2Fsandbox-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengxw%2Fsandbox-deploy/lists"}