-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose-with-mirror.yaml
89 lines (82 loc) · 2.04 KB
/
compose-with-mirror.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: fsi
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
networks:
- frontend
- backend
ports:
- "80:80"
- "443:443"
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
lsyncd:
build: container/lsyncd
restart: always
container_name: lsyncd
env_file:
- .env
networks:
- backend
volumes:
- /etc/timezone:/etc/timezone:ro
- ./conf/lsyncd/lsyncd.conf.lua:/config/lsyncd.lua:ro
- ${SYNC_KEY}:/sync.key:ro
- ${ASSET_PATH}:${ASSET_PATH}:ro
- ${OVERLAY_PATH}:${OVERLAY_PATH}:ro
- ${STORAGE_PATH}:${STORAGE_PATH}:ro
- ${LOG_PATH}/lsync:/var/log
# - ${FSI_CONFIG_PATH}:${FSI_CONFIG_PATH}:ro
logging: *fsi-logging
networks:
frontend:
backend: