Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
02f5ef49
Commit
02f5ef49
authored
8 years ago
by
Ludovic Claude
Browse files
Options
Downloads
Patches
Plain Diff
Add labels to Docker image
parent
4d9b37a0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+11
-0
11 additions, 0 deletions
Dockerfile
src/main/java/eu/hbp/mip/configuration/SecurityConfiguration.java
+1
-0
1 addition, 0 deletions
.../java/eu/hbp/mip/configuration/SecurityConfiguration.java
with
12 additions
and
0 deletions
Dockerfile
+
11
−
0
View file @
02f5ef49
...
...
@@ -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"]
This diff is collapsed.
Click to expand it.
src/main/java/eu/hbp/mip/configuration/SecurityConfiguration.java
+
1
−
0
View file @
02f5ef49
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment