File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,9 @@ spring.jpa.properties.hibernate.show_sql=true
1515spring.jpa.properties.hibernate.format_sql=true
1616spring.jpa.properties.hibernate.use_sql_comments=true
1717spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
18- spring.liquibase.enabled={ {default .Env.PATTERN_ATLAS_FETCH_INITIAL_DATA " false" } }
18+ spring.liquibase.enabled=true
19+ spring.liquibase.change-log=file:patternatlas.xml
1920spring.liquibase.password={ {.Env.DB_INIT_PASSWORD} }
2021spring.liquibase.user={ {.Env.DB_INIT_USER} }
21- spring.liquibase.url=jdbc:postgresql://{ {.Env.JDBC_DATABASE_URL} }:{ {.Env.JDBC_DATABASE_PORT} }/{ {.Env.JDBC_DATABASE_NAME} }
22+ spring.liquibase.url=jdbc:postgresql://{ {.Env.JDBC_DATABASE_URL} }:{ {.Env.JDBC_DATABASE_PORT} }/{ {.Env.JDBC_DATABASE_NAME} }
23+ security.oauth2.resource.jwk.key-set-uri={ {.Env.JWK_URI} }
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ ENV JDBC_DATABASE_NAME postgres
3636ENV JDBC_DATABASE_PORT 5060
3737ENV HAL_EXPLORER true
3838
39+ ENV JWK_URI "http://localhost:8080/realms/patternatlas/protocol/openid-connect/certs"
40+
3941RUN wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
4042 && tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz \
4143 && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
You can’t perform that action at this time.
0 commit comments