Skip to content

Commit

Permalink
prepared for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardolopezb committed Jul 9, 2023
1 parent 851548b commit 87e4b4d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
#spring.datasource.username=${DB_USER}
#spring.datasource.password=${DB_PASSWORD}
spring.datasource.url=jdbc:postgresql://localhost:5433/db
spring.datasource.username=postgres
spring.datasource.password=postgres
spring.datasource.url=jdbc:postgresql://${DB_HOST}:${DB_PORT}/${DB_NAME}
spring.datasource.username=${DB_USER}
spring.datasource.password=${DB_PASSWORD}
#spring.datasource.url=jdbc:postgresql://localhost:5433/db
#spring.datasource.username=postgres
#spring.datasource.password=postgres
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
Expand Down
28 changes: 14 additions & 14 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,20 @@ logging:
springframework:
security: DEBUG

#redis:
# stream:
# result_key: ${REDIS_STREAM_RESULT_KEY}
# request_key: ${REDIS_STREAM_REQUEST_KEY}
# host: ${REDIS_HOST}
# port: ${REDIS_PORT}
# groups:
# lint: ${REDIS_STREAM_GROUP_LINT}

redis:
stream:
result_key: result
request_key: request
host: localhost
port: 6379
result_key: ${REDIS_STREAM_RESULT_KEY}
request_key: ${REDIS_STREAM_REQUEST_KEY}
host: ${REDIS_HOST}
port: ${REDIS_PORT}
groups:
lint: manager-lint
lint: ${REDIS_STREAM_GROUP_LINT}
#
#redis:
# stream:
# result_key: result
# request_key: request
# host: localhost
# port: 6379
# groups:
# lint: manager-lint

0 comments on commit 87e4b4d

Please sign in to comment.