forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
42 lines (36 loc) · 928 Bytes
/
docker-compose.yaml
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
version: '3.7'
services:
app:
image: shopware/development:7.4-composer-2
depends_on: [database]
tmpfs:
- /tmp:mode=1777
volumes:
- .:/app
ports: [8000]
database:
image: mariadb:10.4
ports: [3306]
entrypoint: ["docker-entrypoint.sh", "--default-authentication-plugin=mysql_native_password"]
tmpfs:
- /var/lib/mysql:uid=999,gid=999
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_PASSWORD: root
adminer:
image: adminer:latest
depends_on: [database]
environment:
ADMINER_DEFAULT_SERVER: database
ports: [ 8080 ]
mailer:
image: mailhog/mailhog
ports: [8025]
elasticsearch:
image: elasticsearch:7.8.0
ports: [9200]
environment:
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
- discovery.type=single-node
- http.cors.allow-origin=http://localhost:8003
- http.cors.enabled=true