|
@@ -0,0 +1,121 @@
|
|
|
+## Mark Shust's Docker Configuration for Magento
|
|
|
+## (https://github.com/markshust/docker-magento)
|
|
|
+##
|
|
|
+## Version 44.0.0
|
|
|
+
|
|
|
+## To use SSH, see https://github.com/markshust/docker-magento#ssh
|
|
|
+## Linux users, see https://github.com/markshust/docker-magento#linux
|
|
|
+
|
|
|
+## If you changed the default Docker network, you may need to replace
|
|
|
+## 172.17.0.1 in this file with the result of:
|
|
|
+## docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}'
|
|
|
+
|
|
|
+version: "3"
|
|
|
+
|
|
|
+services:
|
|
|
+ app:
|
|
|
+ image: markoshust/magento-nginx:1.18-8
|
|
|
+ ports:
|
|
|
+ - "80:8000"
|
|
|
+ - "443:8443"
|
|
|
+ volumes: &appvolumes
|
|
|
+ - ~/.composer:/var/www/.composer:cached
|
|
|
+ - ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached
|
|
|
+ - ~/.ssh/known_hosts:/var/www/.ssh/known_hosts:cached
|
|
|
+ - appdata:/var/www/html
|
|
|
+ - sockdata:/sock
|
|
|
+ - ssldata:/etc/nginx/certs
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ phpfpm:
|
|
|
+ image: markoshust/magento-php:8.2-fpm-develop
|
|
|
+ volumes: *appvolumes
|
|
|
+ env_file: env/phpfpm.env
|
|
|
+
|
|
|
+
|
|
|
+ db:
|
|
|
+ image: mariadb:10.6
|
|
|
+ command:
|
|
|
+ --max_allowed_packet=64M
|
|
|
+ --optimizer_use_condition_selectivity=1
|
|
|
+ --optimizer_switch="rowid_filter=off"
|
|
|
+ ports:
|
|
|
+ - "3306:3306"
|
|
|
+ env_file: env/db.env
|
|
|
+ volumes:
|
|
|
+ - dbdata:/var/lib/mysql
|
|
|
+
|
|
|
+ redis:
|
|
|
+ image: redis:7.0-alpine
|
|
|
+ ports:
|
|
|
+ - "6379:6379"
|
|
|
+
|
|
|
+ opensearch:
|
|
|
+ image: markoshust/magento-opensearch:2.4-develop
|
|
|
+ ports:
|
|
|
+ - "9200:9200"
|
|
|
+ - "9300:9300"
|
|
|
+ env_file: env/opensearch.env
|
|
|
+ environment:
|
|
|
+ - "discovery.type=single-node"
|
|
|
+
|
|
|
+
|
|
|
+ - "cluster.routing.allocation.disk.threshold_enabled=false"
|
|
|
+ - "index.blocks.read_only_allow_delete"
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ rabbitmq:
|
|
|
+ image: markoshust/magento-rabbitmq:3.9-0
|
|
|
+ ports:
|
|
|
+ - "15672:15672"
|
|
|
+ - "5672:5672"
|
|
|
+ volumes:
|
|
|
+ - rabbitmqdata:/var/lib/rabbitmq
|
|
|
+ env_file: env/rabbitmq.env
|
|
|
+
|
|
|
+ mailcatcher:
|
|
|
+ image: sj26/mailcatcher
|
|
|
+ ports:
|
|
|
+ - "1080:1080"
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+volumes:
|
|
|
+ appdata:
|
|
|
+ dbdata:
|
|
|
+ rabbitmqdata:
|
|
|
+ sockdata:
|
|
|
+ ssldata:
|