Skip to content

Commit 71c1847

Browse files
Merge pull request #27 from GabrielTorelo/environments
environments#001 - OK
2 parents 07d34d9 + 583779a commit 71c1847

4 files changed

Lines changed: 22 additions & 1 deletion

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Cria script que gera todas as Tabelas/Colunas no BD
2+
#spring.jpa.properties.jakarta.persistence.schema-generation.create-source=metadata
3+
#spring.jpa.properties.jakarta.persistence.schema-generation.scripts.action=create
4+
#spring.jpa.properties.jakarta.persistence.schema-generation.scripts.create-target=create.sql
5+
#spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
6+
7+
spring.datasource.url=jdbc:postgresql://localhost:5433/gameList
8+
spring.datasource.username=postgres
9+
spring.datasource.password=1234567
10+
11+
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
12+
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
13+
spring.jpa.hibernate.ddl-auto=none
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
spring.datasource.url=${DB_URL}
2+
spring.datasource.username=${DB_USERNAME}
3+
spring.datasource.password=${DB_PASSWORD}
4+
5+
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
6+
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
7+
spring.jpa.hibernate.ddl-auto=none
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
spring.profiles.active=${APP_PROFILE:test}
1+
spring.profiles.active=${APP_PROFILE:dev}
22
spring.jpa.open-in-view=false
33

44
cors.origins=${CORS_ORIGINS:http://localhost:5173,http://localhost:3000}

system.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
java.runtime.version=17

0 commit comments

Comments
 (0)