forked from sist2app/sist2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (40 loc) · 1.09 KB
/
docker-compose.yml
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
version: "3"
services:
elasticsearch:
image: elasticsearch:7.17.9
restart: unless-stopped
volumes:
- sist2-es-data:/usr/share/elasticsearch/data
environment:
- "discovery.type=single-node"
- "ES_JAVA_OPTS=-Xms2g -Xmx2g"
- "PUID=1000"
- "PGID=1000"
entrypoint: >
sh -c "chown -R 1000:1000 /usr/share/elasticsearch/data && exec /usr/local/bin/docker-entrypoint.sh"
sist2-admin:
build:
context: .
container_name: sist2-admin
restart: unless-stopped
volumes:
- ./scripts:/build/scripts
- ./schema:/build/schema
- ./CMakeLists.txt:/build/CMakeLists.txt
- ./third-party:/build/third-party
- ./src:/build/src
- ./sist2-vue:/build/sist2-vue
- ./sist2-admin:/build/sist2-admin
- sist2-host:/host
- ./third-party/libscan/libscan-test-files/test_files/ebook:/testData
ports:
- 4090:4090
- 8080:8080
working_dir: /root/sist2-admin/
entrypoint: python3
command:
- /root/sist2-admin/sist2_admin/app.py
volumes:
sist2-admin-data:
sist2-es-data:
sist2-host: