Skip to content
Snippets Groups Projects
Commit fce60c10 authored by Callari, Roberto's avatar Callari, Roberto
Browse files

upd

parent 50a719ce
No related branches found
No related tags found
No related merge requests found
...@@ -11,9 +11,9 @@ services: ...@@ -11,9 +11,9 @@ services:
ports: ports:
- 5432:5432 - 5432:5432
environment: environment:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_DB=dashboarddb - POSTGRES_DB=dashboarddb
networks: networks:
- urbanite-network - urbanite-network
...@@ -27,6 +27,8 @@ services: ...@@ -27,6 +27,8 @@ services:
- SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/dashboarddb - SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/dashboarddb
- IDM_USER4VIEW_USERNAME=urbanite - IDM_USER4VIEW_USERNAME=urbanite
- IDM_USER4VIEW_PASSWORD=urbanite - IDM_USER4VIEW_PASSWORD=urbanite
- POSTGRES_USERNAME=postgres
- POSTGRES_PASSWORD=postgres
#expose: #expose:
# - 8085 # - 8085
ports: ports:
......
...@@ -5,8 +5,8 @@ server.port=8085 ...@@ -5,8 +5,8 @@ server.port=8085
spring.datasource.url=jdbc:postgresql://localhost:5432/dashboarddb spring.datasource.url=jdbc:postgresql://localhost:5432/dashboarddb
spring.datasource.driver-class-name=org.postgresql.Driver spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
spring.datasource.username=postgres spring.datasource.username=${POSTGRES_USERNAME:postgres}
spring.datasource.password=postgres spring.datasource.password=${POSTGRES_PASSWORD:postgres}
spring.jpa.show-sql=true spring.jpa.show-sql=true
spring.jpa.generate-ddl=true spring.jpa.generate-ddl=true
#spring.jpa.hibernate.ddl-auto=create #spring.jpa.hibernate.ddl-auto=create
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment