123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- version: "3"
- services:
- app:
- image: markoshust/magento-nginx:1.18-7
- 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
- extra_hosts: &appextrahosts
-
- - "app:172.17.0.1"
- - "phpfpm:172.17.0.1"
- - "db:172.17.0.1"
- - "redis:172.17.0.1"
- - "elasticsearch:172.17.0.1"
- - "rabbitmq:172.17.0.1"
-
- - "magento.test:172.17.0.1"
- phpfpm:
- image: markoshust/magento-php:7.4-fpm-13
- volumes: *appvolumes
- extra_hosts: *appextrahosts
- env_file: env/phpfpm.env
- db:
- image: mariadb:10.4
- command: --max_allowed_packet=64M
- ports:
- - "3306:3306"
- env_file: env/db.env
- volumes:
- - dbdata:/var/lib/mysql
- extra_hosts: *appextrahosts
- redis:
- image: redis:6.0-alpine
- ports:
- - "6379:6379"
- extra_hosts: *appextrahosts
- elasticsearch:
- image: markoshust/magento-elasticsearch:7.9.3-1
- ports:
- - "9200:9200"
- - "9300:9300"
- environment:
- - "discovery.type=single-node"
-
- - "ES_JAVA_OPTS=-Xms1g -Xmx1g"
-
-
- - "cluster.routing.allocation.disk.threshold_enabled=false"
- - "index.blocks.read_only_allow_delete"
- extra_hosts: *appextrahosts
- rabbitmq:
- image: rabbitmq:3.8.22-management-alpine
- ports:
- - "15672:15672"
- - "5672:5672"
- volumes:
- - rabbitmqdata:/var/lib/rabbitmq
- env_file: env/rabbitmq.env
- extra_hosts: *appextrahosts
- mailcatcher:
- image: sj26/mailcatcher
- ports:
- - "1080:1080"
- extra_hosts: *appextrahosts
- blackfire:
- image: blackfire/blackfire:2
- ports:
- - "8307"
- env_file: env/blackfire.env
-
-
-
-
-
-
- volumes:
- appdata:
- dbdata:
- rabbitmqdata:
- sockdata:
- ssldata:
|