diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 9ffb788..c5ee658 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -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 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index e9a4acd..13f0d9b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -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 \ No newline at end of file + lint: ${REDIS_STREAM_GROUP_LINT} +# +#redis: +# stream: +# result_key: result +# request_key: request +# host: localhost +# port: 6379 +# groups: +# lint: manager-lint \ No newline at end of file