Skip to content

Commit 2a8d949

Browse files
committed
enable for auto-deployment
1 parent 9e106af commit 2a8d949

File tree

12 files changed

+77
-37
lines changed

12 files changed

+77
-37
lines changed

qanary-component-MT-Python-HelsinkiNLP/docker-compose-pairs.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33

44
component-en-de:
55
# for building from source
6-
image: qanary-component-mt-python-helsinki-en-de:latest
6+
image: qanary/qanary-component-mt-python-helsinkinlp-en-de:latest
77
build:
88
context: .
99
dockerfile: Dockerfile
@@ -13,14 +13,14 @@ services:
1313
env_file:
1414
- .env
1515
environment:
16-
- SERVICE_NAME_COMPONENT=MT-Helsinki-en-de
16+
- SERVICE_NAME_COMPONENT=MT-helsinkinlp-en-de
1717
volumes:
1818
- ~/.cache/huggingface:/root/.cache/huggingface/
1919
network_mode: host
2020

2121
component-en-ru:
2222
# for building from source
23-
image: qanary-component-mt-python-helsinki-en-ru:latest
23+
image: qanary/qanary-component-mt-python-helsinkinlp-en-ru:latest
2424
build:
2525
context: .
2626
dockerfile: Dockerfile
@@ -30,15 +30,15 @@ services:
3030
env_file:
3131
- .env
3232
environment:
33-
- SERVICE_NAME_COMPONENT=MT-Helsinki-en-ru
33+
- SERVICE_NAME_COMPONENT=MT-helsinkinlp-en-ru
3434
volumes:
3535
- ~/.cache/huggingface:/root/.cache/huggingface/
3636
network_mode: host
3737

3838

3939
component-en-es:
4040
# for building from source
41-
image: qanary-component-mt-python-helsinki-en-es:latest
41+
image: qanary/qanary-component-mt-python-helsinkinlp-en-es:latest
4242
build:
4343
context: .
4444
dockerfile: Dockerfile
@@ -48,15 +48,15 @@ services:
4848
env_file:
4949
- .env
5050
environment:
51-
- SERVICE_NAME_COMPONENT=MT-Helsinki-en-es
51+
- SERVICE_NAME_COMPONENT=MT-helsinkinlp-en-es
5252
volumes:
5353
- ~/.cache/huggingface:/root/.cache/huggingface/
5454
network_mode: host
5555

5656

5757
component-de-en:
5858
# for building from source
59-
image: qanary-component-mt-python-helsinki-de-en:latest
59+
image: qanary/qanary-component-mt-python-helsinkinlp-de-en:latest
6060
build:
6161
context: .
6262
dockerfile: Dockerfile
@@ -66,15 +66,15 @@ services:
6666
env_file:
6767
- .env
6868
environment:
69-
- SERVICE_NAME_COMPONENT=MT-Helsinki-de-en
69+
- SERVICE_NAME_COMPONENT=MT-helsinkinlp-de-en
7070
volumes:
7171
- ~/.cache/huggingface:/root/.cache/huggingface/
7272
network_mode: host
7373

7474

7575
component-ru-en:
7676
# for building from source
77-
image: qanary-component-mt-python-helsinki-ru-en:latest
77+
image: qanary/qanary-component-mt-python-helsinkinlp-ru-en:latest
7878
build:
7979
context: .
8080
dockerfile: Dockerfile
@@ -84,15 +84,15 @@ services:
8484
env_file:
8585
- .env
8686
environment:
87-
- SERVICE_NAME_COMPONENT=MT-Helsinki-ru-en
87+
- SERVICE_NAME_COMPONENT=MT-helsinkinlp-ru-en
8888
volumes:
8989
- ~/.cache/huggingface:/root/.cache/huggingface/
9090
network_mode: host
9191

9292

9393
component-es-en:
9494
# for building from source
95-
image: qanary-component-mt-python-helsinki-es-en:latest
95+
image: qanary/qanary-component-mt-python-helsinkinlp-es-en:latest
9696
build:
9797
context: .
9898
dockerfile: Dockerfile
@@ -102,7 +102,7 @@ services:
102102
env_file:
103103
- .env
104104
environment:
105-
- SERVICE_NAME_COMPONENT=MT-Helsinki-es-en
105+
- SERVICE_NAME_COMPONENT=MT-helsinkinlp-es-en
106106
volumes:
107107
- ~/.cache/huggingface:/root/.cache/huggingface/
108108
network_mode: host

qanary-component-MT-Python-HelsinkiNLP/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
component:
44
# for building from source
5-
image: qanary-component-mt-python-helsinki:latest
5+
image: qanary/qanary-component-mt-python-helsinkinlp:0.2.0
66
build:
77
context: .
88
dockerfile: Dockerfile

qanary-component-MT-Python-LibreTranslate/docker-compose-pairs.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33

44
component-en-de:
55
# for building from source
6-
image: qanary-component-mt-python-libretranslate-en-de:latest
6+
image: qanary/qanary-component-mt-python-libretranslate-en-de:latest
77
build:
88
context: .
99
dockerfile: Dockerfile
@@ -20,7 +20,7 @@ services:
2020

2121
component-en-ru:
2222
# for building from source
23-
image: qanary-component-mt-python-libretranslate-en-ru:latest
23+
image: qanary/qanary-component-mt-python-libretranslate-en-ru:latest
2424
build:
2525
context: .
2626
dockerfile: Dockerfile
@@ -38,7 +38,7 @@ services:
3838

3939
component-en-es:
4040
# for building from source
41-
image: qanary-component-mt-python-libretranslate-en-es:latest
41+
image: qanary/qanary-component-mt-python-libretranslate-en-es:latest
4242
build:
4343
context: .
4444
dockerfile: Dockerfile
@@ -56,7 +56,7 @@ services:
5656

5757
component-de-en:
5858
# for building from source
59-
image: qanary-component-mt-python-libretranslate-de-en:latest
59+
image: qanary/qanary-component-mt-python-libretranslate-de-en:latest
6060
build:
6161
context: .
6262
dockerfile: Dockerfile
@@ -74,7 +74,7 @@ services:
7474

7575
component-ru-en:
7676
# for building from source
77-
image: qanary-component-mt-python-libretranslate-ru-en:latest
77+
image: qanary/qanary-component-mt-python-libretranslate-ru-en:latest
7878
build:
7979
context: .
8080
dockerfile: Dockerfile
@@ -92,7 +92,7 @@ services:
9292

9393
component-es-en:
9494
# for building from source
95-
image: qanary-component-mt-python-libretranslate-es-en:latest
95+
image: qanary/qanary-component-mt-python-libretranslate-es-en:latest
9696
build:
9797
context: .
9898
dockerfile: Dockerfile

qanary-component-MT-Python-LibreTranslate/docker-compose.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ services:
1212
# component
1313
component:
1414
# for building from source
15-
image: qanary-component-mt-python-libretranslate:latest
15+
image: qanary/qanary-component-mt-python-libretranslate:0.2.0
1616
build:
1717
context: .
1818
dockerfile: Dockerfile
1919
env_file:
2020
- .env
2121
environment:
2222
- SERVICE_NAME_COMPONENT=MT-LibreTranslate
23-
network_mode: host

qanary-component-MT-Python-MBart/docker-compose-pairs.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33

44
component-en-de:
55
# for building from source
6-
image: qanary-component-mt-python-mbart-en-de:latest
6+
image: qanary/qanary-component-mt-python-mbart-en-de:latest
77
build:
88
context: .
99
dockerfile: Dockerfile
@@ -20,7 +20,7 @@ services:
2020

2121
component-en-ru:
2222
# for building from source
23-
image: qanary-component-mt-python-mbart-en-ru:latest
23+
image: qanary/qanary-component-mt-python-mbart-en-ru:latest
2424
build:
2525
context: .
2626
dockerfile: Dockerfile
@@ -38,7 +38,7 @@ services:
3838

3939
component-en-es:
4040
# for building from source
41-
image: qanary-component-mt-python-mbart-en-es:latest
41+
image: qanary/qanary-component-mt-python-mbart-en-es:latest
4242
build:
4343
context: .
4444
dockerfile: Dockerfile
@@ -56,7 +56,7 @@ services:
5656

5757
component-de-en:
5858
# for building from source
59-
image: qanary-component-mt-python-mbart-de-en:latest
59+
image: qanary/qanary-component-mt-python-mbart-de-en:latest
6060
build:
6161
context: .
6262
dockerfile: Dockerfile
@@ -74,7 +74,7 @@ services:
7474

7575
component-ru-en:
7676
# for building from source
77-
image: qanary-component-mt-python-mbart-ru-en:latest
77+
image: qanary/qanary-component-mt-python-mbart-ru-en:latest
7878
build:
7979
context: .
8080
dockerfile: Dockerfile
@@ -92,7 +92,7 @@ services:
9292

9393
component-es-en:
9494
# for building from source
95-
image: qanary-component-mt-python-mbart-es-en:latest
95+
image: qanary/qanary-component-mt-python-mbart-es-en:latest
9696
build:
9797
context: .
9898
dockerfile: Dockerfile

qanary-component-MT-Python-MBart/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
component:
44
# for building from source
5-
image: qanary-component-mt-python-mbart:latest
5+
image: qanary/qanary-component-mt-python-mbart:0.2.0
66
build:
77
context: .
88
dockerfile: Dockerfile

qanary-component-MT-Python-NLLB/docker-compose-pairs.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33

44
component-en-de:
55
# for building from source
6-
image: qanary-component-mt-python-nllb-en-de:latest
6+
image: qanary/qanary-component-mt-python-nllb-en-de:latest
77
build:
88
context: .
99
dockerfile: Dockerfile
@@ -20,7 +20,7 @@ services:
2020

2121
component-en-ru:
2222
# for building from source
23-
image: qanary-component-mt-python-nllb-en-ru:latest
23+
image: qanary/qanary-component-mt-python-nllb-en-ru:latest
2424
build:
2525
context: .
2626
dockerfile: Dockerfile
@@ -38,7 +38,7 @@ services:
3838

3939
component-en-es:
4040
# for building from source
41-
image: qanary-component-mt-python-nllb-en-es:latest
41+
image: qanary/qanary-component-mt-python-nllb-en-es:latest
4242
build:
4343
context: .
4444
dockerfile: Dockerfile
@@ -56,7 +56,7 @@ services:
5656

5757
component-de-en:
5858
# for building from source
59-
image: qanary-component-mt-python-nllb-de-en:latest
59+
image: qanary/qanary-component-mt-python-nllb-de-en:latest
6060
build:
6161
context: .
6262
dockerfile: Dockerfile
@@ -74,7 +74,7 @@ services:
7474

7575
component-ru-en:
7676
# for building from source
77-
image: qanary-component-mt-python-nllb-ru-en:latest
77+
image: qanary/qanary-component-mt-python-nllb-ru-en:latest
7878
build:
7979
context: .
8080
dockerfile: Dockerfile
@@ -92,7 +92,7 @@ services:
9292

9393
component-es-en:
9494
# for building from source
95-
image: qanary-component-mt-python-nllb-es-en:latest
95+
image: qanary/qanary-component-mt-python-nllb-es-en:latest
9696
build:
9797
context: .
9898
dockerfile: Dockerfile

qanary-component-MT-Python-NLLB/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
component:
44
# for building from source
5-
image: qanary-component-mt-python-nllb:latest
5+
image: qanary/qanary-component-mt-python-nllb:0.2.0
66
build:
77
context: .
88
dockerfile: Dockerfile

service_config/files/mt-helsinki

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SPRING_BOOT_ADMIN_URL=http://demos.swe.htwk-leipzig.de:40111/
2+
SERVER_HOST=http://demos.swe.htwk-leipzig.de
3+
SERVER_PORT=40193
4+
SERVICE_DESCRIPTION_COMPONENT="Translates text using Helsinki OpusMT"

service_config/files/mt-mbart

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SPRING_BOOT_ADMIN_URL=http://demos.swe.htwk-leipzig.de:40111/
2+
SERVER_HOST=http://demos.swe.htwk-leipzig.de
3+
SERVER_PORT=40196
4+
SERVICE_DESCRIPTION_COMPONENT="Translates text using MBart"

service_config/files/mt-nllb

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
SPRING_BOOT_ADMIN_URL=http://demos.swe.htwk-leipzig.de:40111/
2+
SERVER_HOST=http://demos.swe.htwk-leipzig.de
3+
SERVER_PORT=40194
4+
SERVICE_DESCRIPTION_COMPONENT="Translates text using NLLB"

service_config/service_config.json

+31-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,34 @@
143143
"files": {
144144
".env": "ned-openai-gpt"
145145
}
146+
},
147+
{
148+
"mode": "dockerfile",
149+
"port": "40193:40193",
150+
"image": "qanary/qanary-component-mt-python-helsinkinlp",
151+
"tag": "latest",
152+
"files": {
153+
".env": "mt-helsinki"
154+
}
155+
},
156+
{
157+
"mode": "dockerfile",
158+
"port": "40194:40194",
159+
"image": "qanary/qanary-component-mt-python-nllb",
160+
"tag": "latest",
161+
"files": {
162+
".env": "mt-nllb"
163+
}
164+
},
165+
{
166+
"mode": "dockerfile",
167+
"port": "40196:40196",
168+
"image": "qanary/qanary-component-mt-python-mbart",
169+
"tag": "latest",
170+
"files": {
171+
".env": "mt-mbart"
172+
}
146173
}
147-
148174
],
149175
"ids": {
150176
"0": "qanary-qanary-component-ld-shuyo",
@@ -162,6 +188,9 @@
162188
"12": "qanary-qanary-component-tqa-chatgptwrapper",
163189
"13": "qanary-qanary-component-qb-dateofdeathdpbedia",
164190
"14": "qanary-qanary-component-kg2kg-translateannotationsofinstance",
165-
"15": "qanary-qanary-component-ned-openai-gpt"
191+
"15": "qanary-qanary-component-ned-openai-gpt",
192+
"16": "qanary-qanary-component-mt-python-helsinkinlp",
193+
"17": "qanary-qanary-component-mt-python-nllb",
194+
"18": "qanary-qanary-component-mt-python-mbart"
166195
}
167196
}

0 commit comments

Comments
 (0)