File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -15,4 +15,7 @@ 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={ {default .Env.PATTERN_ATLAS_FETCH_INITIAL_DATA " false" } }
19+ spring.liquibase.password={ {.Env.DB_INIT_PASSWORD} }
20+ spring.liquibase.user={ {.Env.DB_INIT_USER} }
21+ spring.liquibase.url=jdbc:postgresql://{ {.Env.JDBC_DATABASE_URL} }:{ {.Env.JDBC_DATABASE_PORT} }/{ {.Env.JDBC_DATABASE_NAME} }
Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ ENV API_PORT 1977
2727ENV JDBC_DATABASE_URL host.docker.internal
2828ENV JDBC_DATABASE_USERNAME postgres
2929ENV JDBC_DATABASE_PASSWORD postgres
30+
31+ # seperate user for database initialization (should have write-permissions)
32+ ENV DB_INIT_USER postgres
33+ ENV DB_INIT_PASSWORD postgres
34+
3035ENV JDBC_DATABASE_NAME postgres
3136ENV JDBC_DATABASE_PORT 5060
3237ENV HAL_EXPLORER true
You can’t perform that action at this time.
0 commit comments