Skip to content

Instantly share code, notes, and snippets.

@fiko
Last active July 3, 2019 04:49
Show Gist options
  • Save fiko/b1d323c3c81f7ea7ffef3978bd4c5cb7 to your computer and use it in GitHub Desktop.
Save fiko/b1d323c3c81f7ea7ffef3978bd4c5cb7 to your computer and use it in GitHub Desktop.
Docker Compose version of MGT Commerce
version: "3"
# This is docker compose version of MGT Commerce base on this:
# https://www.mgt-commerce.com/documentation/mgt-development-environment-run-container
services:
mgt-development-environment-7.2:
volumes:
- ./public_html:/home/cloudpanel/htdocs
- /var/lib/mysql
restart: always
network_mode: bridge
container_name: mgt-dev-72
hostname: mgt-dev-72
privileged: true
ports:
- 80:80
- 443:443
- 22:22
- 3306:3306
- 3333:3333
- 9200:9200
image: mgtcommerce/mgt-development-environment-7.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment