forked from agungsantoso/bitnami-docker-magento
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
40 lines (40 loc) · 1008 Bytes
/
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
version: '2'
services:
mariadb:
image: 'bitnami/mariadb:10.2'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_magento
- MARIADB_PASSWORD=magento_db_password
- MARIADB_DATABASE=bitnami_magento
volumes:
- 'mariadb_data:/bitnami'
magento:
image: 'bitnami/magento:2'
environment:
- MARIADB_HOST=mariadb
- MARIADB_PORT_NUMBER=3306
- MAGENTO_DATABASE_USER=bn_magento
- MAGENTO_DATABASE_PASSWORD=magento_db_password
- MAGENTO_DATABASE_NAME=bitnami_magento
- ELASTICSEARCH_HOST=elasticsearch
- ELASTICSEARCH_PORT_NUMBER=9200
ports:
- '80:80'
- '443:443'
volumes:
- 'magento_data:/bitnami'
depends_on:
- mariadb
- elasticsearch
elasticsearch:
image: 'bitnami/elasticsearch:6'
volumes:
- 'elasticsearch_data:/bitnami/elasticsearch/data'
volumes:
elasticsearch_data:
driver: local
mariadb_data:
driver: local
magento_data:
driver: local