-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompose.yaml
More file actions
53 lines (53 loc) · 1.54 KB
/
compose.yaml
File metadata and controls
53 lines (53 loc) · 1.54 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
secrets:
elasticsearch-keystore-password:
# The search engine's password for the keystore.
file: ../../../artifacts/secrets/elasticsearch-keystore-password.secret
elasticsearch-password:
# The search engine's password for the default user.
file: ../../../artifacts/secrets/elasticsearch-password.secret
services:
elasticsearch:
# You cannot access the search engine via a web interface.
deploy:
labels:
- dargstack.profiles=zammad
environment:
bootstrap.memory_lock: "true"
discovery.type: single-node
ELASTIC_PASSWORD_FILE: /run/secrets/elasticsearch-password
ES_JAVA_OPTS: -Xms1g -Xmx1g
KEYSTORE_PASSWORD_FILE: /run/secrets/elasticsearch-keystore-password
network.publish_host: elasticsearch
image: elasticsearch:9.3.2
secrets:
- source: elasticsearch-keystore-password
uid: "1000"
gid: "1000"
mode: 0o400
- source: elasticsearch-password
uid: "1000"
gid: "1000"
mode: 0o400
ulimits:
nofile:
soft: 65535
hard: 65535
memlock:
soft: -1
hard: -1
volumes:
- elasticsearch-configuration:/usr/share/elasticsearch/config
- elasticsearch-data:/usr/share/elasticsearch/data
volumes:
elasticsearch-configuration:
# The search engine's configuration.
{}
elasticsearch-data:
# The search engine's data.
{}
x-dargstack:
secrets:
elasticsearch-keystore-password:
type: random_string
elasticsearch-password:
type: random_string