{"id":18702559,"url":"https://github.com/mayocream/runtime","last_synced_at":"2026-03-19T05:59:15.983Z","repository":{"id":103330406,"uuid":"243711575","full_name":"mayocream/Runtime","owner":"mayocream","description":"My dev env and production env.","archived":false,"fork":false,"pushed_at":"2020-03-26T06:12:03.000Z","size":236,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T11:37:29.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/mayocream.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":"2020-02-28T08:15:43.000Z","updated_at":"2023-04-25T19:31:23.000Z","dependencies_parsed_at":"2023-06-02T12:16:03.160Z","dependency_job_id":null,"html_url":"https://github.com/mayocream/Runtime","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/mayocream%2FRuntime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2FRuntime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2FRuntime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mayocream%2FRuntime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mayocream","download_url":"https://codeload.github.com/mayocream/Runtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565645,"owners_count":19660154,"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-11-07T11:46:17.446Z","updated_at":"2025-11-09T01:30:35.190Z","avatar_url":"https://github.com/mayocream.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\n[Laradock](https://laradock.io/)-like development and production environment based on Docker containers with Docker Compose.\n\nImages build with alpine (not all).\n\nEasy to start from an PHP project.\n\n## Installation\n\n\u003e  Tested on Debian 9 / 10 \n\n### Download repo\n\n```bash\ngit clone https://github.com/mayocream/Runtime.git\n```\n\n### Install Docker CE\n\n#### from script\n\n```bash\ncurl -sSL https://get.docker.com/ | sh\n```\n\n#### manual (China mirror source)\n\n```bash\napt update    \napt install apt-transport-https ca-certificates curl gnupg2 software-properties-common    \ncurl -fsSL http://mirrors.aliyun.com/docker-ce/linux/debian/gpg | apt-key add -    \nadd-apt-repository \"deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/debian $(lsb_release -cs) stable\"    \napt update      \napt-cache policy docker-ce    \napt install docker-ce       \n```\n\ncheck docker status `systemctl status docker `\n\n### Install Docker Compose\n\nfrom Github:\n\n```bash\ncurl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` \u003e /usr/local/bin/docker-compose   \n```\n\nfrom DaoCloud (China mirror source)\n\n```bash\ncurl -L https://get.daocloud.io/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` \u003e /usr/local/bin/docker-compose\n```\n\nthen:\n\n```\nchmod +x /usr/local/bin/docker-compose  \n```\n\n### Replace with China mirror source\n\nedit `/etc/docker/daemon.json`\n\n```json\n{    \n  \"registry-mirrors\": [    \n      \"https://registry.docker-cn.com\",    \n      \"http://hub-mirror.c.163.com\"    \n    ]    \n}    \n```\n\n```bash\nsystemctl daemon-reload    \nsystemctl restart docker\n```\n\n## Usage\n\n### Before start\n\nedit docker-compose.yml file, comment the part you don't need.\n\n```bash\ncp docker-compose.example.yml docker-compose.yml\nnano docker-compose.yml\n```\n\nedit .env file.\n\n```bash\ncp env-example .env\nnano .env\n```\n\ncheck the permissions of work folders.\n\n```bash\nmkdir /var/www # Your work folder.\nchmod 777 -R /var/www\nchmod 777 -R /var/runtime # Repo download path\n```\n\n### Start instances\n\n```bash\ndocker-compose up -d\n```\n\n## Other things\n\n### Docker Settings\n\nChange Docker default hub mirror and expose docker's control port.\n\nedit `/etc/docker/daemon.json`\n\n```json\n{\n    \"registry-mirrors\": [\n        \"https://610w9y8k.mirror.aliyuncs.com\"\n    ],\n    \"hosts\": [\n        \"tcp://0.0.0.0:2375\",\n        \"unix:///var/run/docker.sock\"\n    ]\n}\n```\n\n### FAQ - Temporary solutions\n\n**Q: Database won't work on Shared Folders on Windows.**\n\nA: Known as Windows' file system and permission problem, there's no a common solution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Fruntime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayocream%2Fruntime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayocream%2Fruntime/lists"}