dream
110 строк · 2.9 Кб
1services:
2agent:
3command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_adv/pipeline_conf.json'
4volumes:
5- ".:/dp-agent"
6environment:
7WAIT_HOSTS: "spelling-preprocessing:8074, harvesters-maintenance-gobot-skill:3882,
8confidence-based-response-selector:8005, emotion-classification-deepy:8015, dff-program-y-skill:8008, entity-linking-deepy:8075,
9intent-catcher:8014, sentseg:8011"
10WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480}
11ports:
12- 4242:4242
13
14spelling-preprocessing:
15env_file: [ .env ]
16build:
17args:
18SERVICE_PORT: 8074
19SERVICE_NAME: spelling_preprocessing
20context: ./annotators/spelling_preprocessing/
21command: flask run -h 0.0.0.0 -p 8074
22environment:
23- FLASK_APP=server
24deploy:
25resources:
26limits:
27memory: 100M
28reservations:
29memory: 100M
30ports:
31- 8074:8074
32
33harvesters-maintenance-gobot-skill:
34build:
35context: skills/harvesters_maintenance_gobot_skill_deepy
36command: gunicorn --workers=1 server:app -b 0.0.0.0:3882 --timeout=1000
37ports:
38- 3882:3882
39
40confidence-based-response-selector:
41build:
42context: response_selectors/confidence_based_response_selector
43command: gunicorn --workers=1 server:app -b 0.0.0.0:8005
44volumes: []
45ports:
46- 8005:8005
47
48emotion-classification-deepy:
49build:
50context: annotators/emotion_classification_deepy
51command: python -m deeppavlov riseapi emo_bert.json -p 8015
52ports:
53- 8015:8015
54
55dff-program-y-skill:
56env_file: [ .env ]
57build:
58args:
59SERVICE_PORT: 8008
60SERVICE_NAME: dff_program_y_skill
61LANGUAGE: EN
62context: .
63dockerfile: ./skills/dff_program_y_skill/Dockerfile
64command: gunicorn --workers=1 server:app -b 0.0.0.0:8008 --reload
65ports:
66- 8008:8008
67
68entity-linking-deepy:
69build:
70args:
71SERVICE_PORT: 8075
72SERVICE_NAME: entity_linking
73CONFIG: entity_linking_deepy.json
74SRC_DIR: annotators/entity_linking_deepy
75context: ./
76dockerfile: annotators/entity_linking_deepy/Dockerfile
77volumes:
78- "~/.deeppavlov:/root/.deeppavlov"
79ports:
80- 8075:8075
81environment:
82- CUDA_VISIBLE_DEVICES=''
83
84intent-catcher:
85env_file: [ .env ]
86build:
87context: .
88dockerfile: ./annotators/IntentCatcherTransformers/Dockerfile
89args:
90SERVICE_PORT: 8014
91CONFIG_NAME: intents_model_dp_config.json
92INTENT_PHRASES_PATH: intent_phrases.json
93command: python -m flask run -h 0.0.0.0 -p 8014
94environment:
95- FLASK_APP=server
96- CUDA_VISIBLE_DEVICES=0
97ports:
98- 8014:8014
99
100sentseg:
101env_file: [ .env ]
102build:
103context: ./annotators/SentSeg/
104command: flask run -h 0.0.0.0 -p 8011
105environment:
106- FLASK_APP=server
107ports:
108- 8011:8011
109
110version: "3.7"
111