diff options
author | Georg Pfuetzenreuter | 2022-05-12 13:14:41 +0200 |
---|---|---|
committer | Georg Pfuetzenreuter | 2022-05-12 13:14:41 +0200 |
commit | e724d7fd9e87779874f14b9801b2546b03fb98fd (patch) | |
tree | bfccf95126ce0f1ba0cedcc08e2f565f41c3de2a /src/main/resources | |
parent | ddce3598126cc9f80b73d5ed64586d6aef385a47 (diff) | |
download | pubsh-web-e724d7fd9e87779874f14b9801b2546b03fb98fd.tar.gz pubsh-web-e724d7fd9e87779874f14b9801b2546b03fb98fd.tar.bz2 pubsh-web-e724d7fd9e87779874f14b9801b2546b03fb98fd.zip |
Move Docker/Podman endpoint to application.properties
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/META-INF/additional-spring-configuration-metadata.json | 17 | ||||
-rw-r--r-- | src/main/resources/application.properties | 3 |
2 files changed, 14 insertions, 6 deletions
diff --git a/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 3d1bce2..ebde200 100644 --- a/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -1,5 +1,12 @@ -{"properties": [{ - "name": "spring.datasource.jdbc-url", - "type": "java.lang.String", - "description": "New Hikari JDBC connection URI specifier" -}]} +{"properties": [ + { + "name": "spring.datasource.jdbc-url", + "type": "java.lang.String", + "description": "New Hikari JDBC connection URI specifier" + }, + { + "name": "lysergic.docker.endpoint", + "type": "java.lang.String", + "description": "Custom variable to specify Docker/Podman API endpoint" + } +]} diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index fee4153..dae748b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,4 +10,5 @@ spring.datasource.driverClassName=org.mariadb.jdbc.Driver spring.datasource.jdbc-url=jdbc:mariadb://${DB_HOST}/${DB} spring.datasource.username=${DB_USER} spring.datasource.password=${DB_SECRET} -db-scheduler.enabled=true
\ No newline at end of file +db-scheduler.enabled=true +lysergic.docker.endpoint=${CONTAINER_API}
\ No newline at end of file |