Skip to content

Commit

Permalink
master: docker, pg profile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
livesalmonbrain committed Jul 17, 2022
1 parent 81575f8 commit 9bfb70f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion experiment-admin/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:8-jdk-alpine
FROM openjdk:11
ARG JAR_FILE=build/libs/experiment-admin-0.0.1.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ spring.datasource.url=jdbc:postgresql://${PSQL_HOST:localhost}:${PSQL_PORT:5432}
spring.datasource.username=${PSQL_USER:postgres}
spring.datasource.password=${PSQL_PWD:test}
spring.datasource.platform=postgres
spring.datasource.driverClassName = org.postgresql.Driver
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect

init-db=true
spring.jpa.hibernate.ddl-auto=create
Expand Down

0 comments on commit 9bfb70f

Please # to comment.