Skip to content

Commit 519dd69

Browse files
committed
set up docker configs for web server
1 parent b7cce6f commit 519dd69

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ version: '3'
22

33
services:
44

5+
web:
6+
image: jrouly/employability-web:latest
7+
container_name: employability-web
8+
ports: ["9000:9000"]
9+
environment:
10+
- EMPLOYABILITY_APP_SECRET
11+
512
elasticsearch:
613
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
714
container_name: employability-elasticsearch

preprocess/src/main/scala/net/rouly/employability/preprocess/transform/PreProcessFlow.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import opennlp.tools.stemmer.PorterStemmer
1111
import opennlp.tools.tokenize._
1212
import opennlp.tools.util.normalizer._
1313

14-
1514
object PreProcessFlow {
1615

1716
def apply(models: AnalysisOpenNlpModels): Flow[Document[String], Document[String], NotUsed] = {

web/conf/application.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
play.application.loader=net.rouly.employability.web.AppLoader
2+
play.http.secret.key=${?EMPLOYABILITY_APP_SECRET}

0 commit comments

Comments
 (0)