-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
48 lines (45 loc) · 987 Bytes
/
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
44
45
46
47
48
version: '3.4'
services:
backend:
build:
context: ${BACKEND}
dockerfile: Dockerfile
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
image: ${BACKEND_HOST}:${APP_VERSION}
container_name: ${BACKEND_HOST}
volumes:
- ${BACKEND}/:/app/
- ${DATA_PATH}:/data/user
- ${ES_DATA}/extra:/usr/share/elasticsearch/data/extra
expose:
- "${BACKEND_PORT}"
entrypoint: ./start.sh ${FLASK_DEBUG}
environment:
BACKEND_PORT: ${BACKEND_PORT}
env_file:
- ${ENV_FILE}
logging:
#driver: none
options:
max-size: "10m"
max-file: "1"
tika:
image: logicalspark/docker-tikaserver
container_name: tika
expose:
- "9998"
ports:
- "1212:9998"
environment:
- http_proxy
- https_proxy
- no_proxy
logging:
driver: none
networks:
default:
external:
name: ${DC_NETWORK}