File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11x-defaults : &defaults
22 restart : unless-stopped
3- environment :
4- - NUM_WORKERS= ${NUM_WORKERS:-1}
5- - CALLBACK_SERVER= ${CALLBACK_SERVER:-""}
3+ environment : &environment
4+ NUM_WORKERS : ${NUM_WORKERS:-1}
5+ CALLBACK_SERVER : ${CALLBACK_SERVER:-""}
66 deploy :
77 resources :
88 limits :
9- memory : 2G
9+ memory : 4G
1010 # Comment out if no GPU is available.
1111 reservations :
1212 devices :
@@ -71,20 +71,22 @@ services:
7171 << : *defaults
7272
7373 stanza-alpino-conll02 :
74+ << : *defaults
7475 image : instituutnederlandsetaal/galahad-taggers-stanza:$CPU_GPU-$VERSION
7576 environment :
76- - STANZA_MODEL=alpino
77+ << : *environment
78+ STANZA_MODEL : alpino
7779 ports :
7880 - 8121:8080
79- << : *defaults
8081
8182 stanza-lassysmall-wikiner :
83+ << : *defaults
8284 image : instituutnederlandsetaal/galahad-taggers-stanza:$CPU_GPU-$VERSION
8385 environment :
84- - STANZA_MODEL=lassysmall
86+ << : *environment
87+ STANZA_MODEL : lassysmall
8588 ports :
8689 - 8122:8080
87- << : *defaults
8890
8991 flair :
9092 image : instituutnederlandsetaal/galahad-taggers-flair:$CPU_GPU-$VERSION
You can’t perform that action at this time.
0 commit comments