Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker environment #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ FROM openjdk:8-jdk as builder

USER root

RUN apt-get update
#&& \
# apt-get -y --no-install-recommends install

WORKDIR /app/glutton-source

RUN mkdir -p .gradle
Expand Down Expand Up @@ -43,8 +39,6 @@ RUN unzip -o ./lookup-service.zip -d ./lookup && \

RUN rm *.zip

WORKDIR /app/lookup/lookup-service

ENV JAVA_OPTS=-Xmx4g

CMD java -jar lib/lookup-service-1.0-SNAPSHOT-onejar.jar server data/config/config.yml
CMD java -jar /app/lookup/lookup-service/lib/lookup-service-1.0-SNAPSHOT-onejar.jar server lookup/lookup-service/data/config/config.yml
4 changes: 2 additions & 2 deletions lookup/data/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ ignoreCrossRefFields:
batchSize: 10000

# Grobid URL
grobidPath: http://localhost:8070/api
grobidPath: http://grobid:8070/api

# when set to -1 it's using the number of processors available to the machine
maxAcceptedRequests: 2048

elastic:
host: localhost:9200
host: elasticsearch:9200
index: crossref
type: work

Expand Down