File tree Expand file tree Collapse file tree 1 file changed +32
-38
lines changed Expand file tree Collapse file tree 1 file changed +32
-38
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 3.7'
2
2
3
3
services :
4
- app :
5
- image : shopware/development:8.1-composer-2
6
- depends_on : [database]
7
- tmpfs :
8
- - /tmp:mode=1777
9
- volumes :
10
- - .:/app
11
- ports : [8000]
12
- environment :
13
- DATABASE_URL : mysql://root:root@database:3306/main
4
+ database :
5
+ image : mysql:${MYSQL_VERSION:-8}-oracle
6
+ ports :
7
+ - ' 3306:3306'
8
+ tmpfs :
9
+ - /var/lib/mysql:uid=999,gid=999
10
+ environment :
11
+ MYSQL_ROOT_PASSWORD : root
12
+ MYSQL_DATABASE : shopware
14
13
15
- database :
16
- image : mariadb:10.4
17
- ports : [3306]
18
- entrypoint : ["docker-entrypoint.sh", "--default-authentication-plugin=mysql_native_password"]
19
- tmpfs :
20
- - /var/lib/mysql:uid=999,gid=999
21
- environment :
22
- MYSQL_ROOT_PASSWORD : root
23
- MYSQL_PASSWORD : root
24
- MYSQL_DATABASE : main
14
+ adminer :
15
+ image : adminer:latest
16
+ depends_on : [ database ]
17
+ environment :
18
+ ADMINER_DEFAULT_SERVER : database
19
+ ports :
20
+ - ' 8080:8080'
25
21
26
- adminer :
27
- image : adminer:latest
28
- depends_on : [database]
29
- environment :
30
- ADMINER_DEFAULT_SERVER : database
31
- ports : [ 8080 ]
22
+ mailer :
23
+ image : mailhog/mailhog
24
+ ports :
25
+ - ' 8025:8025'
32
26
33
- mailer :
34
- image : mailhog/mailhog
35
- ports : [8025]
36
-
37
- elasticsearch :
38
- image : elasticsearch:7.8.0
39
- ports : [9200]
40
- environment :
41
- - " ES_JAVA_OPTS=-Xms512m -Xmx512m"
42
- - discovery.type=single-node
43
- - http.cors.allow-origin=http://localhost:8003
44
- - http.cors.enabled=true
27
+ opensearch :
28
+ image : opensearchproject/opensearch:2
29
+ ports :
30
+ - ' 9200:9200'
31
+ volumes :
32
+ - opensearch-data:/usr/share/opensearch/data
33
+ environment :
34
+ discovery.type : single-node
35
+ plugins.security.disabled : ' true'
45
36
37
+ volumes :
38
+ db-data :
39
+ opensearch-data :
You can’t perform that action at this time.
0 commit comments