-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.yaml
More file actions
75 lines (72 loc) · 2.58 KB
/
Copy pathcompose.yaml
File metadata and controls
75 lines (72 loc) · 2.58 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
services:
fess01:
container_name: fess01
image: ghcr.io/codelibs/fess:${FESS_VERSION}
ports:
- "8080:8080"
depends_on:
- search01
environment:
- "SEARCH_ENGINE_HTTP_URL=http://search01:9200"
- "FESS_DICTIONARY_PATH=/usr/share/opensearch/config/dictionary/"
# Codesearch Fess config (incl. the multi-line index.filetype) is generated by
# bin/setup.sh into data/fess/opt/fess/fess_config.properties (mounted at /opt/fess,
# which shadows the image's /etc/fess copy on the classpath).
# Edit the delta in conf/fess_config.overlay.properties; secrets go in
# conf/fess_config.local.properties (git-ignored).
# - "FESS_LOG_LEVEL=debug"
networks:
- codesearch_net
volumes:
- ./data/fess/home/fess:/home/fess
- ./data/fess/opt/fess:/opt/fess
- ./data/fess/var/lib/fess:/var/lib/fess
- ./data/fess/var/log/fess:/var/log/fess
- ./data/fess/usr/share/fess/app/WEB-INF/plugin:/usr/share/fess/app/WEB-INF/plugin
- ./data/fess/usr/share/fess/app/WEB-INF/classes/fess_indices/_codesearch:/usr/share/fess/app/WEB-INF/classes/fess_indices/_codesearch
# Static theme fetched from fess-themes by setup.sh; mounted at the Fess app
# themes dir (served at /themes/codesearch by the 15.7 container).
- ./data/fess/themes/codesearch:/usr/share/fess/app/themes/codesearch
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
restart: unless-stopped
search01:
container_name: search01
image: ghcr.io/codelibs/fess-opensearch:${OPENSEARCH_VERSION}
environment:
- node.name=search01
- discovery.seed_hosts=search01
- cluster.initial_cluster_manager_nodes=search01
- cluster.name=fess-es
- bootstrap.memory_lock=true
- node.roles=cluster_manager,data,ingest,ml
- "OPENSEARCH_JAVA_OPTS=-Xms1g -Xmx1g"
- "DISABLE_INSTALL_DEMO_CONFIG=true"
- "DISABLE_SECURITY_PLUGIN=true"
- "FESS_DICTIONARY_PATH=/usr/share/opensearch/config/dictionary"
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65535
hard: 65535
volumes:
- ./data/opensearch/usr/share/opensearch/data:/usr/share/opensearch/data
- ./data/opensearch/usr/share/opensearch/config/dictionary:/usr/share/opensearch/config/dictionary
ports:
- 9200:9200
networks:
- codesearch_net
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
restart: unless-stopped
networks:
codesearch_net:
driver: bridge