{"id":20079050,"url":"https://github.com/gowrizrh/mageos-docker","last_synced_at":"2026-05-13T03:09:36.413Z","repository":{"id":171640297,"uuid":"620274928","full_name":"gowrizrh/mageos-docker","owner":"gowrizrh","description":"A docker compose environment for Magento, with minimal configuration. ","archived":false,"fork":false,"pushed_at":"2024-04-13T03:00:08.000Z","size":354,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T01:12:23.847Z","etag":null,"topics":["adobe","commerce","docker","docker-compose","magento","mageos"],"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/gowrizrh.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":"2023-03-28T11:18:20.000Z","updated_at":"2024-10-16T09:20:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd4a1c79-2439-4f4b-a321-48927cf34bb8","html_url":"https://github.com/gowrizrh/mageos-docker","commit_stats":null,"previous_names":["gowrizrh/mageos-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowrizrh%2Fmageos-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowrizrh%2Fmageos-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowrizrh%2Fmageos-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gowrizrh%2Fmageos-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gowrizrh","download_url":"https://codeload.github.com/gowrizrh/mageos-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241509658,"owners_count":19974071,"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":["adobe","commerce","docker","docker-compose","magento","mageos"],"created_at":"2024-11-13T15:19:36.271Z","updated_at":"2026-05-13T03:09:31.377Z","avatar_url":"https://github.com/gowrizrh.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Compose Setup for MageOS\n\nA super simple docker compose setup for local development.\n\n## Features\n\n- Fast, simple: No custom scripts or wrappers. Just plain `docker compose`\n- Xdebug support: There is no need to toggle xdebug on/off. Set the `XDEBUG_SESSION` cookie to get into debugging mode.\n\n## Defaults credentials\n```\nMageOS: admin:password1 (see below install script)\nDatabase: magento2:magento2\nRabbitMQ: guest:guest\nGrafana: admin:admin\n```\n\n## Monitoring Support\n\nExperiemental support to ingest logs generated by Magento. Enable with docker compose profile flag. e.g: `docker compose --profile grafana up -d`\n\n![Image](./docs/loki-grafana.png)\n\n## Install a new project\n\nCreate an empty `src/` folder in the root\n\nBring all services up and shell into the php container\n\n```bash\ndocker compose up -d\ndocker compose exec php bash\n```\n\n### Install MageOS\n\n```\ncomposer create-project --repository-url=\"https://mirror.mage-os.org/\" \"magento/project-community-edition:\u003e=2.4.7 \u003c2.4.8\" .\n```\n\n#### Other options\n\nMagento\n\n```\ncomposer create-project --repository-url=\"https://repo.magento.com/\" \"magento/project-community-edition:\u003e=2.4.7 \u003c2.4.8\" .\n```\n\nAdobe Commerce\n\n```\ncomposer create-project --repository-url=\"https://repo.magento.com/\" \"magento/project-enterprise-edition:\u003e=2.4.7 \u003c2.4.8\" .\n```\n\nRun install command. An example is provided below. Make necessary modifications as you see fit.\n\n### Example Install Command\n\n```bash\nbin/magento setup:install \\\n--cleanup-database \\\n--use-secure=1 \\\n--use-secure-admin=1 \\\n--base-url=https://mageos.test:8080/ \\\n--db-host=db \\\n--db-name=magento2 \\\n--db-user=magento2 \\\n--db-password=magento2 \\\n--backend-frontname=admin \\\n--admin-firstname=admin \\\n--admin-lastname=admin \\\n--admin-email=admin@admin.com \\\n--admin-user=admin \\\n--admin-password=password1 \\\n--language=en_AU \\\n--currency=AUD \\\n--timezone=Australia/Adelaide \\\n--use-rewrites=1 \\\n--search-engine=opensearch \\\n--opensearch-host=os \\\n--opensearch-port=9200 \\\n--opensearch-index-prefix=magento2 \\\n--opensearch-timeout=15 \\\n--amqp-host=mq \\\n--amqp-port=5672 \\\n--amqp-user=guest \\\n--amqp-password=guest\n```\n\n#### Configure Redis for caching\n\n```bash\nbin/magento setup:config:set --cache-backend=redis --cache-backend-redis-server=redis --cache-backend-redis-db=0\n```\n\n```bash\nbin/magento setup:config:set --page-cache=redis --page-cache-redis-server=redis --page-cache-redis-db=1\n```\n\n#### Configure Redis for session storage\n```bash\nbin/magento setup:config:set --session-save=redis --session-save-redis-host=redis --session-save-redis-log-level=4 --session-save-redis-db=2\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowrizrh%2Fmageos-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgowrizrh%2Fmageos-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgowrizrh%2Fmageos-docker/lists"}