-
-
Notifications
You must be signed in to change notification settings - Fork 259
/
Copy pathdocker-compose.yaml.hbs
56 lines (56 loc) · 1.17 KB
/
docker-compose.yaml.hbs
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
version: '3.0'
services:
web:
image: ghcr.io/alexcheng1982/docker-magento2:{{magento2Version}}
ports:
- "80:80"
links:
- db
- opensearch
depends_on:
- db
- opensearch
volumes:
- magento-data:/var/www/html
env_file:
- env
db:
image: mysql:{{mysqlVersion}}
volumes:
- db-data:/var/lib/mysql
env_file:
- env
phpmyadmin:
image: phpmyadmin/phpmyadmin
ports:
- "8580:80"
links:
- db
depends_on:
- db
opensearch:
image: opensearchproject/opensearch:{{openSearchVersion}}
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch
- discovery.seed_hosts=opensearch
- cluster.initial_cluster_manager_nodes=opensearch
- bootstrap.memory_lock=true
- plugins.security.disabled=true
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- opensearch-data:/usr/share/opensearch/data
ports:
- 9200:9200
- 9600:9600
volumes:
magento-data:
db-data:
opensearch-data: