-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
68 lines (63 loc) · 1.52 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
57
58
59
60
61
62
63
64
65
66
67
68
x-logging:
&fsi-logging
options:
max-size: "2000k"
driver: json-file
services:
fsi-server:
image: ${FSI_SERVER_IMAGE}:${FSI_SERVER_IMAGE_TAG}
restart: always
container_name: fsi-server
environment:
- SOLR_SERVER_URI=${SOLR_SERVER_URI}
- LOG_FSI_LEVEL=${LOG_FSI_LEVEL}
networks:
- backend
volumes:
- /etc/timezone:/etc/timezone:ro
- ${FSI_CONFIG_PATH}:/srv/fsi/mounts/config
- ${ASSET_PATH}:/srv/fsi/mounts/assets
- ${OVERLAY_PATH}:/srv/fsi/mounts/overlay
- ${STORAGE_PATH}:/srv/fsi/mounts/storage
- ${LOG_PATH}/fsi:/srv/fsi/mounts/catalina/logs
depends_on:
- solr-server
userns_mode: "host"
logging: *fsi-logging
ulimits:
nproc: 65535
nofile:
soft: 20000
hard: 40000
solr-server:
image: solr:6-slim
restart: always
container_name: solr
user: "0:0"
command: ["/opt/solr/bin/solr", "start", "-p", "8983", "-f", "-force"]
networks:
- backend
volumes:
- ${SOLR_PATH}:/opt/solr/server/solr/fsi-server
logging: *fsi-logging
nginx:
build: container/nginx
restart: always
container_name: nginx
ports:
- "80:80"
- "443:443"
networks:
- frontend
- backend
volumes:
- /etc/localtime:/etc/localtime:ro
- ${NGINX_CONFIG_PATH}:/etc/nginx
- ${LOG_PATH}/nginx:/var/log/nginx
# - /etc/letsencrypt:/etc/letsencrypt:ro
depends_on:
- fsi-server
logging: *fsi-logging
networks:
frontend:
backend: