{"id":19592245,"url":"https://github.com/catalyst/docker_moodle","last_synced_at":"2025-07-25T16:05:20.181Z","repository":{"id":48510280,"uuid":"132863374","full_name":"catalyst/docker_moodle","owner":"catalyst","description":"A Moodle development environment. Maintained via https://github.com/catalyst/docker_moodle_builder","archived":false,"fork":false,"pushed_at":"2024-10-02T01:28:42.000Z","size":55,"stargazers_count":15,"open_issues_count":1,"forks_count":16,"subscribers_count":20,"default_branch":"2004-psql","last_synced_at":"2025-02-26T14:14:53.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/catalyst.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}},"created_at":"2018-05-10T07:17:25.000Z","updated_at":"2024-10-02T01:28:45.000Z","dependencies_parsed_at":"2022-09-22T15:41:47.416Z","dependency_job_id":null,"html_url":"https://github.com/catalyst/docker_moodle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/catalyst/docker_moodle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fdocker_moodle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fdocker_moodle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fdocker_moodle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fdocker_moodle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/catalyst","download_url":"https://codeload.github.com/catalyst/docker_moodle/tar.gz/refs/heads/2004-psql","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/catalyst%2Fdocker_moodle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267029407,"owners_count":24024199,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":[],"created_at":"2024-11-11T08:34:18.612Z","updated_at":"2025-07-25T16:05:20.126Z","avatar_url":"https://github.com/catalyst.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker_moodle\n\n## Requirements\n\n- Docker\n- Docker-compose\n\n## Usage\n\n1. Clone this repository\n\n```\ngit clone git@github.com:catalyst/docker_moodle.git docker_moodle\n```\n\n2. Clone Moodle code into siteroot\n\n```\ncd docker_moodle\ngit clone git@github.com:moodle/moodle.git siteroot\n```\n\n3. Copy site config across\n\n```\ncp moodle-config siteroot/config.php\n```\n\n4. Start containers\n\n```\ndocker-compose up\n```\n\n## Utility Commands\n\nUse the following command to enter the bash shell of each container.\nReplaces using the docker exec function.\n\nTo change container names, change name in yaml file and control file.\n\nEnter web container:\n\n```\n./control web\n```\n\nEnter db container:\n\n```\n./control db\n```\n\nEnter test database container:\n\n```\n./control testdb\n```\n\nRestore db locally:\n\n```\n./control dbrestore \u003cfilename.gz\u003e\n```\n\n## Running Tests\n\nTo setup the testing environment run:\n\n```\n./control web\ncomposer install\nphp admin/tool/phpunit/cli/init.php\n```\n\nTo run tests:\n\n```\n./control web\n./vendor/bin/phpunit\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fdocker_moodle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatalyst%2Fdocker_moodle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatalyst%2Fdocker_moodle/lists"}