-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
53 lines (49 loc) · 1.45 KB
/
compose.yaml
File metadata and controls
53 lines (49 loc) · 1.45 KB
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
services:
###> shopware/core ###
database:
image: mariadb:11.8
environment:
MARIADB_DATABASE: shopware
MARIADB_ROOT_PASSWORD: root
MARIADB_USER: shopware
MARIADB_PASSWORD: shopware
volumes:
- db-data:/var/lib/mysql:rw
command:
- --sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
- --log_bin_trust_function_creators=1
- --binlog_cache_size=16M
- --key_buffer_size=0
- --join_buffer_size=1024M
- --innodb_log_file_size=128M
- --innodb_buffer_pool_size=1024M
- --innodb_buffer_pool_instances=1
- --group_concat_max_len=320000
- --default-time-zone=+00:00
- --max_binlog_size=512M
- --binlog_expire_logs_seconds=86400
healthcheck:
test: [ "CMD", "mariadb-admin" ,"ping", "-h", "localhost", "-proot" ]
start_period: 10s
start_interval: 3s
interval: 5s
timeout: 1s
retries: 10
###< shopware/core ###
###> shopware/elasticsearch ###
opensearch:
image: opensearchproject/opensearch:2
volumes:
- opensearch-data:/usr/share/opensearch/data
environment:
OPENSEARCH_INITIAL_ADMIN_PASSWORD: 'c3o_ZPHo!'
discovery.type: single-node
plugins.security.disabled: 'true'
###< shopware/elasticsearch ###
volumes:
###> shopware/core ###
db-data:
###< shopware/core ###
###> shopware/elasticsearch ###
opensearch-data:
###< shopware/elasticsearch ###