This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
145c25b6
Commit
145c25b6
authored
2 years ago
by
Cont Deploy
Browse files
Options
Downloads
Patches
Plain Diff
keycloak fixes
parent
15940c7d
1 merge request
!178
Backport Master Changes to Development
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
manual_deploy.sh
+1
-1
1 addition, 1 deletion
manual_deploy.sh
src/main/docker/gitsearch.yml
+3
-2
3 additions, 2 deletions
src/main/docker/gitsearch.yml
with
4 additions
and
3 deletions
manual_deploy.sh
+
1
−
1
View file @
145c25b6
...
...
@@ -2,7 +2,7 @@
source
src/main/docker/.env
echo
"Deploying Gitsearch"
#
export GITBRANCH=
test
export
GITBRANCH
=
master
#export SPRING_PROFILES_ACTIVE=staging,swagger
export
COMMIT_ID
=
"
$(
git rev-parse HEAD
)
"
export
MAVEN_USER_HOME
=
`
pwd
`
/.maven
&&
./mvnw package
-DskipTests
-Pprod
jib:build
-Djib
.to.image
=
sharing-codeability.uibk.ac.at:5051/sharing/codeability-sharing-platform/gitsearch/
$GITBRANCH
-Djib
.to.auth.username
=
gitlab-ci-token
-Djib
.to.auth.password
=
$CI_BUILD_TOKEN
-Dmaven
.repo.local
=
$MAVEN_USER_HOME
...
...
This diff is collapsed.
Click to expand it.
src/main/docker/gitsearch.yml
+
3
−
2
View file @
145c25b6
...
...
@@ -13,7 +13,7 @@ services:
-
SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE}
-
MANAGEMENT_METRICS_EXPORT_PROMETHEUS_ENABLED=true
-
SPRING_DATASOURCE_URL=jdbc:mysql://sharing_mysql:3306/gitsearch?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true
-
JHIPSTER_SLEEP=
15
# gives a small time for other services to boot before the application
-
JHIPSTER_SLEEP=
60
# gives a small time for other services to boot before the application
-
SPRING_DATA_JEST_URI=http://sharing_elasticsearch:9200
-
SPRING_ELASTICSEARCH_REST_URIS=http://sharing_elasticsearch:9200
# see https://stackoverflow.com/questions/62676762/how-can-a-variable-set-in-the-docker-env-file-be-used-in-application-yml
...
...
@@ -60,11 +60,12 @@ services:
postgres
:
image
:
postgres
volumes
:
-
postgres_data:/var/lib/postgresql/data
1
-
postgres_data:/var/lib/postgresql/data
environment
:
-
POSTGRES_DB=keycloak
-
POSTGRES_USER=${POSTGRES_USER_KEYCLOAK}
-
POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
-
PGDATA=/var/lib/postgresql/data/pgdata
restart
:
always
networks
:
-
backend
...
...
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