forked from shopware/production
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (42 loc) · 1.15 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
#override defaults for dev
version: "3.7"
services:
app_server:
image: shopware-production:local
build: .
depends_on:
- mysql
- elasticsearch
ports:
- 8000:8000
- 8005:8000
extra_hosts:
- "docker.vm:127.0.0.1"
environment:
# define yourself
#- DATABASE_URL
- APP_URL=http://docker.vm:8000
- INSTANCE_ID=
- SHOPWARE_ES_ENABLED=1
- SHOPWARE_ES_HOSTS=elasticsearch:9200
- SHOPWARE_ES_INDEXING_ENABLED=1
- SHOPWARE_ES_INDEX_PREFIX=sw
- SHOPWARE_CDN_STRATEGY_DEFAULT=id
- MAILER_URL=smtp://localhost:25?encryption=&auth_mode=
volumes:
- "./config/jwt:/sw6/config/jwt"
- "./public/bundles:/sw6/public/bundles"
- "./public/media:/sw6/public/media"
- "./public/sitemap:/sw6/public/sitemap"
- "./public/theme:/sw6/public/theme"
- "./public/thumbnail:/sw6/public/thumbnail"
- "./var:/sw6/var"
mysql:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=root
elasticsearch:
image: elastic/elasticsearch:7.8.0
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node