From: Kai Moritz Date: Tue, 3 Jul 2018 03:32:31 +0000 (+0200) Subject: Renamed the pom-properties and enabled the docker-build X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=7cd836b4071f8a10ffec85f0c8f5e593f77b1f2d;p=examples%2Ffacebook-app Renamed the pom-properties and enabled the docker-build --- diff --git a/pom.xml b/pom.xml index 510a4ff..b0f7f5d 100644 --- a/pom.xml +++ b/pom.xml @@ -25,20 +25,25 @@ 1.8 + + 8443 + de + DE + Europe/Berlin - NOT_SET - NOT_SET - NOT_SET + NOT_SET + NOT_SET + NOT_SET - 60000 - 60000 - ERROR + 60000 + 60000 + ERROR - com.h2database - h2 - - sa - + com.h2database + h2 + + sa + @@ -73,8 +78,8 @@ spring-boot-starter-data-jpa - ${jdbc.groupId} - ${jdbc.artifactId} + ${yourshouter.facebook.app.jdbc.groupId} + ${yourshouter.facebook.app.jdbc.artifactId} runtime @@ -85,6 +90,42 @@ org.springframework.boot spring-boot-maven-plugin + + io.fabric8 + docker-maven-plugin + 0.26.0 + + + + yourshouter/%a:%v + + openjdk:8-jre-alpine + kai@yourshouter.com + + ${project.version} + + + ${yourshouter.facebook.app.server.port}/tcp + + + + + java + -Duser.language=${yourshouter.api.language} + -Duser.country=${yourshouter.api.country} + -Duser.timezone=${yourshouter.api.timezone} + -jar + /maven/${project.build.finalName}.jar + + + + artifact + + + + + + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index be5e940..53179d2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,24 +1,24 @@ -facebook.app.id=@facebook.app.id@ -facebook.app.secret=@facebook.app.secret@ -facebook.app.canvas=@facebook.app.canvas@ +facebook.app.id=@yourshouter.facebook.app.client.id@ +facebook.app.secret=@yourshouter.facebook.app.client.secret@ +facebook.app.canvas=@yourshouter.facebook.app.client.canvas@ -server.port: 8443 -server.ssl.key-store: keystore -server.ssl.key-store-password: secret +server.port=@yourshouter.facebook.app.server.port@ +server.ssl.key-store=keystore +server.ssl.key-store-password=secret -httpclient.timeout.connection=@httpclient.timeout.connection@ -httpclient.timeout.read=@httpclient.timeout.read@ +httpclient.timeout.connection=@yourshouter.facebook.app.httpclient.timeout.connection@ +httpclient.timeout.read=@yourshouter.facebook.app.httpclient.timeout.read@ spring.thymeleaf.prefix=/thymeleaf/ spring.thymeleaf.cache=false -spring.datasource.url=@jdbc.url@ -spring.datasource.username=@jdbc.username@ -spring.datasource.password=@jdbc.password@ +spring.datasource.url=@yourshouter.facebook.app.jdbc.url@ +spring.datasource.username=@yourshouter.facebook.app.jdbc.username@ +spring.datasource.password=@yourshouter.facebook.app.jdbc.password@ spring.datasource.continueOnError=true spring.h2.console.enabled=true logging.level.org.springframework.social=debug -logging.level.org.apache.http=@httpclient.logging.level@ +logging.level.org.apache.http=@yourshouter.facebook.app.httpclient.logging.level@ logging.level.org.apache.http.wire=ERROR logging.level.de.juplo.yourshouter=info