12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- # Mark Shust's Docker Configuration for Magento (https://github.com/markshust/docker-magento)
- # Version 27.2.0
- version: "3"
- services:
- app:
- image: markoshust/magento-nginx:1.13-8
- ports:
- - "80:8000"
- - "443:8443"
- links:
- - db
- - phpfpm
- volumes: &appvolumes
- - ~/.composer:/var/www/.composer:delegated
- - appdata:/var/www/html
- - sockdata:/sock
- - ssldata:/etc/nginx/certs
- phpfpm:
- image: markoshust/magento-php:7.3-fpm-2
- links:
- - db
- volumes: *appvolumes
- db:
- image: percona:5.7
- ports:
- - "3306:3306"
- env_file: env/db.env
- volumes:
- - dbdata:/var/lib/mysql
- redis:
- image: redis:5.0
- elasticsearch:
- image: markoshust/magento-elasticsearch:6.5.4-0
- ports:
- - "9200:9200"
- - "9300:9300"
- rabbitmq:
- image: rabbitmq:3.7-management
- ports:
- - "15672:15672"
- - "5672:5672"
- volumes:
- - rabbitmqdata:/var/lib/rabbitmq
- # Disabling cron by default as it uses higher CPU, enable if needed
- #cron:
- # image: markoshust/magento-php:7.3-fpm-2
- # user: root
- # command: /usr/local/bin/cronstart
- # tty: true
- # links:
- # - db
- # volumes: *appvolumes
- volumes:
- appdata:
- dbdata:
- rabbitmqdata:
- sockdata:
- ssldata:
|