{"id":21298453,"url":"https://github.com/salvacorts/marketing-training-docker-stack","last_synced_at":"2026-04-19T10:32:54.868Z","repository":{"id":83381119,"uuid":"141723827","full_name":"salvacorts/Marketing-Training-Docker-Stack","owner":"salvacorts","description":"Marketing training stack for IES Ganivet. Magento, Mautic and Wordpress deployed with Docker","archived":false,"fork":false,"pushed_at":"2018-07-30T10:34:02.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T17:43:24.343Z","etag":null,"topics":["docker","docker-compose","magento","magento2","mautic","systemd","wordpress","wordpress-docker"],"latest_commit_sha":null,"homepage":"","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/salvacorts.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":"2018-07-20T14:44:19.000Z","updated_at":"2018-07-30T10:34:52.000Z","dependencies_parsed_at":"2023-03-05T07:45:28.415Z","dependency_job_id":null,"html_url":"https://github.com/salvacorts/Marketing-Training-Docker-Stack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/salvacorts/Marketing-Training-Docker-Stack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvacorts%2FMarketing-Training-Docker-Stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvacorts%2FMarketing-Training-Docker-Stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvacorts%2FMarketing-Training-Docker-Stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvacorts%2FMarketing-Training-Docker-Stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salvacorts","download_url":"https://codeload.github.com/salvacorts/Marketing-Training-Docker-Stack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salvacorts%2FMarketing-Training-Docker-Stack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32004036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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","magento","magento2","mautic","systemd","wordpress","wordpress-docker"],"created_at":"2024-11-21T14:53:14.409Z","updated_at":"2026-04-19T10:32:54.842Z","avatar_url":"https://github.com/salvacorts.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Marketing Training Stack\n\nMautic, Magento and Wordpress deployment for learning purposes.\n\n### Requirements\n\n- **CPU:** 4 cores, 2GHz\n- **RAM:** 4GB\n- **Docker:**  [Get Docker CE for Ubuntu - Docker Docs](https://docs.docker.com/install/linux/docker-ce/ubuntu/)\n- **Docker compose:**  [Install Docker Compose](https://docs.docker.com/compose/install/)\n- **Git:** `sudo apt install git`\n\n\n\n### Configure and Install\n\nYou **must** edit Magento configuration file before installation. Edit `magento.env` and change this variables.\n\n- *MAGENTO_LANGUAGE*: Magento language\n\n- *MAGENTO_TIMEZONE:* Current server timezone\n- *MAGENTO_DEFAULT_CURRENCY*: Default currency used by Magento.\n\t ***MAGENTO_URL***: IP or Domain name fo server (e.g: http://192.168.8.37 or http://www.magento.com)\t\n- ***MAGENTO_ADMIN_FIRSTNAME***: Magento admin firstname\n- ***MAGENTO_ADMIN_LASTNAME***: Magento admin last name\n- ***MAGENTO_ADMIN_EMAIL***: Magento admin email address (e.g: amdin@example.com)\n- ***MAGENTO_ADMIN_USERNAME***: Admin username for Magento\n- ***MAGENTO_ADMIN_PASSWORD***: Admin password for Magento.\n\n**\u003cu\u003eNOTES:\u003c/u\u003e** \n\n1. variables in bold **must** be changed.\n2. You can use `nano` command to edit them. Check this tutorial: https://www.howtogeek.com/howto/42980/the-beginners-guide-to-nano-the-linux-command-line-text-editor/\n\n\tOnce you have configured Magento editing `magento.env`, you can use the installation script in order to setup your server.  I will install, enable and start the Systemd service required to recover from server reboots.\t\n\n```bash\ngit clone https://github.com/salvacorts/Marketing-Training-Docker-Stack.git\ncd Marketing-Training-Docker-Stack/\nchmod +x setup.sh\nsudo ./setup.sh install\n```\n\nYou can remove this service by running:\n\n```bash\nsudo ./setup.sh uninstall\n```\n\nNow that all applications are running for first time, you have to install Magento by running:\n\n```bash\nsudo ./post-install.sh intall-magento\n```\n\n\n\n### How to use\n\n##### Save/Load Backups\n\nIt it highly recommendable making a backup when you have installed and configured all the applications. You can save them running:\n\n```bash\nsudo ./post-install.sh backup /path/to/save/your/backups\n```\n\nIf you want to load your backups:\n\n```bash\nsudo ./post-install.sh load-backup /path/where/you/saved/the/backups\n```\n\n**\u003cu\u003eNOTES:\u003c/u\u003e** \n\n1. When you load backups, all applications will stop working until backups restored.\n\n##### Show Logs\n\nIf something is not working as expected, you can check all messages from application by running:\n\n```bash\ncd /srv/docker/\nsudo docker-compose logs -f\n```\n\n\n\n### Advanced Concepts:\n\n#### Files:\n\n- **mautic.env**: Mautic container configuration file.\n- **magento.env**: Magento container configuration file.\n- **wordpress.env:** Wordpress container configuration file.\n- **docker-compose.yml**: Container deployment definition.\n- **setup.sh:** Installation file.\n- **post-install.sh: ** Post-installation file\n\n#### Learn more:\n\n1. **Connect to server with ssh:** https://www.howtogeek.com/311287/how-to-connect-to-an-ssh-server-from-windows-macos-or-linux/\n2. **Basics of Linux command line:** https://maker.pro/linux/tutorial/basic-linux-commands-for-beginners\n3. **Mounting volumes in Ubuntu:** https://linuxconfig.org/howto-mount-usb-drive-in-linux\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalvacorts%2Fmarketing-training-docker-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalvacorts%2Fmarketing-training-docker-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalvacorts%2Fmarketing-training-docker-stack/lists"}