-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.remote.yml
91 lines (81 loc) · 2.24 KB
/
docker-compose.remote.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
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
90
91
version: '3.6'
services:
dev:
build:
context: ./
dockerfile: .devcontainer/Dockerfile.dev.base
args:
USERNAME: vscode
USER_UID: 1000
ENV_ID: dev
ENV_DEV_BASE_FILE: "environment.dev.base.remote.yml"
PROJECT_ID: wb_nlp
ENV_DEV_FILE: "environment.dev.remote.yml"
volumes:
- ${REMOTE_PATH}:/workspace
- ${REMOTE_PATH}/../scrapers:/workspace/scrapers
# - ./:/workspace
# - ${REMOTE_PATH}:/workspace:cached
# ports:
# - "8000:8000"
depends_on:
- mongodb
load_balancer:
build:
context: ./app/load_balancer
restart: always
ports:
- "80:80"
env_file:
- .env
volumes:
- ${REMOTE_PATH}/app/load_balancer:/app
links:
- app_kcp
- app_jdc
depends_on:
- app_kcp
- app_jdc
app_kcp:
volumes:
- ${REMOTE_PATH}/app/app_kcp:/app
- ${REMOTE_PATH}/app/app_kcp/site.conf:/etc/nginx/conf.d/site.conf
app_jdc:
volumes:
- ${REMOTE_PATH}/app/app_jdc:/app
- ${REMOTE_PATH}/app/app_jdc/site.conf:/etc/nginx/conf.d/site.conf
dfr:
# ports:
# - "8098:80"
volumes:
- ${REMOTE_PATH}/models/dfr/data:/usr/share/nginx/html/data
# - ${REMOTE_PATH}/app/dfr/data:/usr/share/nginx/html/data
mongodb:
volumes:
- ${REMOTE_PATH}/data/mongodb:/data/db
ports:
- 127.0.0.1:27018:27017
milvus:
volumes:
- ${REMOTE_PATH}/milvus/db:/var/lib/milvus/db
- ${REMOTE_PATH}/milvus/conf:/var/lib/milvus/conf
- ${REMOTE_PATH}/milvus/logs:/var/lib/milvus/logs
- ${REMOTE_PATH}/milvus/wal:/var/lib/milvus/wal
es01:
volumes:
- ${REMOTE_PATH}/elasticsearch/data/01:/usr/share/elasticsearch/data
es02:
volumes:
- ${REMOTE_PATH}/elasticsearch/data/02:/usr/share/elasticsearch/data
es03:
volumes:
- ${REMOTE_PATH}/elasticsearch/data/03:/usr/share/elasticsearch/data
nlp_api:
volumes:
- ${REMOTE_PATH}/models:/workspace/models
- ${REMOTE_PATH}/data:/workspace/data
# - ${REMOTE_PATH}/data/preprocessed:/workspace/data/preprocessed
# - ${REMOTE_PATH}/data/whitelists:/workspace/data/whitelists
selenium:
environment:
- JAVA_OPTS=-Dwebdriver.chrome.whitelistedIps=