dream

Форк
0
/
docker-compose.override.yml 
110 строк · 2.9 Кб
1
services:
2
  agent:
3
    command: sh -c 'bin/wait && python -m deeppavlov_agent.run agent.pipeline_config=assistant_dists/deepy_adv/pipeline_conf.json'
4
    volumes:
5
      - ".:/dp-agent"
6
    environment:
7
      WAIT_HOSTS: "spelling-preprocessing:8074, harvesters-maintenance-gobot-skill:3882,
8
        confidence-based-response-selector:8005, emotion-classification-deepy:8015, dff-program-y-skill:8008, entity-linking-deepy:8075,
9
        intent-catcher:8014, sentseg:8011"
10
      WAIT_HOSTS_TIMEOUT: ${WAIT_TIMEOUT:-480}
11
    ports:
12
      - 4242:4242
13

14
  spelling-preprocessing:
15
    env_file: [ .env ]
16
    build:
17
      args:
18
        SERVICE_PORT: 8074
19
        SERVICE_NAME: spelling_preprocessing
20
      context: ./annotators/spelling_preprocessing/
21
    command: flask run -h 0.0.0.0 -p 8074
22
    environment:
23
      - FLASK_APP=server
24
    deploy:
25
      resources:
26
        limits:
27
          memory: 100M
28
        reservations:
29
          memory: 100M
30
    ports:
31
      - 8074:8074
32

33
  harvesters-maintenance-gobot-skill:
34
    build:
35
      context: skills/harvesters_maintenance_gobot_skill_deepy
36
    command: gunicorn --workers=1 server:app -b 0.0.0.0:3882 --timeout=1000
37
    ports:
38
      - 3882:3882
39

40
  confidence-based-response-selector:
41
    build:
42
      context: response_selectors/confidence_based_response_selector
43
    command: gunicorn --workers=1 server:app -b 0.0.0.0:8005
44
    volumes: []
45
    ports:
46
      - 8005:8005
47

48
  emotion-classification-deepy:
49
    build:
50
      context: annotators/emotion_classification_deepy
51
    command: python -m deeppavlov riseapi emo_bert.json -p 8015
52
    ports:
53
      - 8015:8015
54

55
  dff-program-y-skill:
56
    env_file: [ .env ]
57
    build:
58
      args:
59
        SERVICE_PORT: 8008
60
        SERVICE_NAME: dff_program_y_skill
61
        LANGUAGE: EN
62
      context: .
63
      dockerfile: ./skills/dff_program_y_skill/Dockerfile
64
    command: gunicorn --workers=1 server:app -b 0.0.0.0:8008 --reload
65
    ports:
66
      - 8008:8008
67

68
  entity-linking-deepy:
69
    build:
70
      args:
71
        SERVICE_PORT: 8075
72
        SERVICE_NAME: entity_linking
73
        CONFIG: entity_linking_deepy.json
74
        SRC_DIR: annotators/entity_linking_deepy
75
      context: ./
76
      dockerfile: annotators/entity_linking_deepy/Dockerfile
77
    volumes:
78
      - "~/.deeppavlov:/root/.deeppavlov"
79
    ports:
80
      - 8075:8075
81
    environment:
82
      - CUDA_VISIBLE_DEVICES=''
83

84
  intent-catcher:
85
    env_file: [ .env ]
86
    build:
87
      context: .
88
      dockerfile: ./annotators/IntentCatcherTransformers/Dockerfile
89
      args:
90
        SERVICE_PORT: 8014
91
        CONFIG_NAME: intents_model_dp_config.json
92
        INTENT_PHRASES_PATH: intent_phrases.json
93
    command: python -m flask run -h 0.0.0.0 -p 8014
94
    environment:
95
      - FLASK_APP=server
96
      - CUDA_VISIBLE_DEVICES=0
97
    ports:
98
      - 8014:8014
99

100
  sentseg:
101
    env_file: [ .env ]
102
    build:
103
      context: ./annotators/SentSeg/
104
    command: flask run -h 0.0.0.0 -p 8011
105
    environment:
106
      - FLASK_APP=server
107
    ports:
108
      - 8011:8011
109

110
version: "3.7"
111

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.