forked from shopware/shopware
-
Notifications
You must be signed in to change notification settings - Fork 1
/
compose.yaml
56 lines (51 loc) · 1.59 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
database:
image: mariadb:latest
environment:
MARIADB_ROOT_PASSWORD: root
MARIADB_DATABASE: shopware
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
ports:
- '3306:3306'
tmpfs:
- /var/lib/mysql:uid=999,gid=999
adminer:
image: shyim/adminerevo:latest
stop_signal: SIGKILL
depends_on: [ database ]
environment:
ADMINER_DEFAULT_SERVER: database
ports:
- '9080:8080'
valkey:
image: valkey/valkey:alpine
command: [ "--maxmemory-policy", "volatile-lfu" ]
ports:
- '6379:6379'
mailer:
image: axllent/mailpit
ports:
- '8025:8025'
- '1025:1025'
opensearch:
image: opensearchproject/opensearch:latest
ports:
- '9200:9200'
environment:
OPENSEARCH_INITIAL_ADMIN_PASSWORD: 'c3o_ZPHo!'
discovery.type: single-node
plugins.security.disabled: 'true'
volumes:
db-data: