-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
62 lines (61 loc) · 1.61 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
version: '2'
services:
shop:
image: infrastructr/magento:dev
build:
context: .
args:
MAGENTO_PUBLIC_KEY: ${MAGENTO_PUBLIC_KEY}
MAGENTO_PRIVATE_KEY: ${MAGENTO_PRIVATE_KEY}
environment:
MAGENTO_BASE_URL: http://shop.local
MAGENTO_DB_HOST: database
MAGENTO_DB_USER: shop
MAGENTO_DB_PASSWORD: secret123
MAGENTO_DB_NAME: shop
MAGENTO_ADMIN_FIRSTNAME: Average
MAGENTO_ADMIN_LASTNAME: Joe
MAGENT_ADMIN_EMAIL: average.joe@example.org
MAGENTO_ADMIN_USER: admin
MAGENTO_ADMIN_PASSWORD: secret123
MAGENTO_LANGUAGE: de_DE
MAGENTO_CURRENCY: EUR
MAGENTO_TIMEZONE: Europe/Berlin
MAGENTO_USE_REWRITES: 1
MAGENTO_BACKEND_FRONTNAME: admin_nimda
MAGENTO_2FA_ENABLE: 'false'
MAGENTO_SEARCH_ENGINE: elasticsearch6
MAGENTO_ELASTICSEARCH_HOSTNAME: search
MAGENTO_ELASTICSEARCH_PORT: 9200
MAGENTO_ELASTICSEARCH_ENABLE_AUTH: 'false'
MAGENTO_ELASTICSEARCH_USERNAME: elastic
MAGENTO_ELASTICSEARCH_PASSWORD: secret123
ports:
- 80:80
- 443:443
volumes:
- app:/var/www/html
depends_on:
- database
- search
database:
image: mysql:5.7.31
environment:
MYSQL_USER: shop
MYSQL_DATABASE: shop
MYSQL_PASSWORD: secret123
MYSQL_ROOT_PASSWORD: secret123
volumes:
- database:/var/lib/mysql
search:
image: elasticsearch:7.8.1
environment:
discovery.type: single-node
xpack.security.enabled: 'false'
ELASTIC_PASSWORD: secret123
ports:
- 9200:9200
- 9300:9300
volumes:
app:
database: