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

[MOSIP-35226] Enabled config-server to pull configurations from local git repo. #1566

Merged
merged 12 commits into from
Sep 4, 2024
2 changes: 1 addition & 1 deletion kernel/kernel-config-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ LABEL build_time=${BUILD_TIME}

# install packages and create user
RUN apt-get -y update \
&& apt-get install -y unzip sudo\
&& apt-get install -y unzip sudo git \
&& groupadd -g ${container_user_gid} ${container_user_group} \
&& useradd -u ${container_user_uid} -g ${container_user_group} -s /bin/sh -m ${container_user} \
&& usermod -aG sudo ${container_user} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ server.servlet.context-path=${server.servlet.path}

# Uncomment spring.profiles.active and spring.cloud.config.server.native.search-locations for # connecting to local file system for configuration.
#################################################################
#spring.profiles.active=native
spring.profiles.active=native

#spring.cloud.config.server.native.search-locations=file:///<config-location-on-your-system>
spring.cloud.config.server.native.search-locations=file:///var/lib/config_repo

#Server would return a HTTP 404 status, if the application is not found.By default, this flag is set to true.
spring.cloud.config.server.accept-empty=false
Expand Down Expand Up @@ -56,4 +56,3 @@ spring.cloud.config.server.git.cloneOnStart=true
#encrypt.keyStore.secret=<your-encryption-keyStore-secret>

mosip.config.dnd.services={'consul','kernel-config-service'}

Loading