Skip to content
Snippets Groups Projects
Commit 02f5ef49 authored by Ludovic Claude's avatar Ludovic Claude
Browse files

Add labels to Docker image

parent 4d9b37a0
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,17 @@ COPY docker/runner/config/application.tmpl /config/application.tmpl
COPY docker/runner/README.md docker/runner/run.sh /
COPY target/portal-backend-1.0.0-docker-packaging.jar backend.jar
# org.label-schema.build-date=$BUILD_DATE
# org.label-schema.vcs-ref=$VCS_REF
LABEL org.label-schema.schema-version="1.0" \
org.label-schema.license="AGPLv3" \
org.label-schema.name="portal-backend" \
org.label-schema.description="Java backend for the MIP portal" \
org.label-schema.url="https://mip.humanbrainproject.eu" \
org.label-schema.vendor="LREN CHUV" \
org.label-schema.docker.dockerfile="Dockerfile" \
org.label-schema.memory-hint="2048"
EXPOSE 8080
CMD ["./run.sh"]
......@@ -57,6 +57,7 @@ import java.net.URLEncoder;
import java.security.Principal;
// See https://spring.io/guides/tutorials/spring-boot-oauth2/ for reference about configuring OAuth2 login
// also http://cscarioni.blogspot.ch/2013/04/pro-spring-security-and-oauth-2.html
/**
* Configuration for security.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment