-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
87 lines (85 loc) · 3.05 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
networks:
magento2:
driver: bridge
services:
mariadb:
networks:
- magento2
image: docker.io/bitnami/mariadb:10.6
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_magento
- MARIADB_DATABASE=bitnami_magento
ports:
- '3308:3306'
volumes:
- 'mariadb_data:/bitnami/mariadb'
magento:
networks:
- magento2
build:
context: .
dockerfile: ./bin/docker/images/default/Dockerfile
ports:
- '8096:8080'
- '8443:8443'
env_file:
- ./bin/docker/conf/development/auth.env
- ./bin/docker/conf/development/hipay.env
- ./bin/docker/conf/development/mage.env
- ./bin/docker/conf/development/module.env
volumes:
- './web:/bitnami/magento'
- ./Api:/bitnami/magento/app/code/HiPay/FullserviceMagento/Api
- ./Block:/bitnami/magento/app/code/HiPay/FullserviceMagento/Block
- ./Controller:/bitnami/magento/app/code/HiPay/FullserviceMagento/Controller
- ./etc:/bitnami/magento/app/code/HiPay/FullserviceMagento/etc
- ./Helper:/bitnami/magento/app/code/HiPay/FullserviceMagento/Helper
- ./Model:/bitnami/magento/app/code/HiPay/FullserviceMagento/Model
- ./Console:/bitnami/magento/app/code/HiPay/FullserviceMagento/Console
- ./Observer:/bitnami/magento/app/code/HiPay/FullserviceMagento/Observer
- ./Plugin:/bitnami/magento/app/code/HiPay/FullserviceMagento/Plugin
- ./Ui:/bitnami/magento/app/code/HiPay/FullserviceMagento/Ui
- ./view:/bitnami/magento/app/code/HiPay/FullserviceMagento/view
- ./Setup:/bitnami/magento/app/code/HiPay/FullserviceMagento/Setup
- ./Cron:/bitnami/magento/app/code/HiPay/FullserviceMagento/Cron
- ./i18n:/bitnami/magento/app/code/HiPay/FullserviceMagento/i18n
- ./Logger:/bitnami/magento/app/code/HiPay/FullserviceMagento/Logger
- ./Test:/bitnami/magento/app/code/HiPay/FullserviceMagento/Test
- ./composer.json:/bitnami/magento/app/code/HiPay/FullserviceMagento/composer.json
- ./registration.php:/bitnami/magento/app/code/HiPay/FullserviceMagento/registration.php
- ./tests:/bitnami/magento/tests
- ./log:/bitnami/magento/var/log
- ./conf/sdk:/bitnami/magento/sdk
depends_on:
- mariadb
- elasticsearch
- smtp
elasticsearch:
networks:
- magento2
image: docker.io/bitnami/elasticsearch:7
environment:
- cluster.name=docker-cluster
- discovery.type=single-node
- 'ES_JAVA_OPTS=-Xms2g -Xmx2g'
- http.port=9200
- cluster.routing.allocation.disk.watermark.low=85%
- cluster.routing.allocation.disk.watermark.high=90%
- cluster.routing.allocation.disk.watermark.flood_stage=95%
- cluster.info.update.interval=1m
volumes:
- 'elasticsearch_data:/bitnami/elasticsearch/data'
smtp:
image: schickling/mailcatcher
networks:
- magento2
ports:
- '1016:1080'
mem_limit: 256M
volumes:
mariadb_data:
driver: local
elasticsearch_data:
driver: local