Skip to content

Commit

Permalink
Merge pull request #41 from GroupHQ/GROUP-105-Migrate-to-AWS-ECS
Browse files Browse the repository at this point in the history
GROUP-105 Updated configuration to correctly identify root certs paths
  • Loading branch information
makmn1 authored Jun 26, 2024
2 parents e1218a4 + 306a545 commit 4d9369a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ spring:
url: r2dbc:postgresql://${POSTGRES_HOST:grouphq-postgres}/grouphq_groups
properties:
sslMode: VERIFY_FULL
sslRootCert: "classpath:aws/postgres/root.crt"
sslRootCert: "aws/postgres/root.crt"
flyway:
url: jdbc:postgresql://${POSTGRES_HOST:grouphq-postgres}/grouphq_groups
jdbc-properties:
ssl: true
sslMode: verify_full
sslRootCert: "classpath:aws/postgres/root.crt"
url: jdbc:postgresql://${POSTGRES_HOST:grouphq-postgres}/grouphq_groups?ssl=true&sslMode=verify-full&sslRootCert=classpath:aws/postgres/root.crt
rabbitmq:
host: ${RABBITMQ_HOST:grouphq-rabbitmq}
port: 5671
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ spring:
r2dbc:
username: user
password: password
url: r2dbc:postgresql://localhost:5432/grouphq_group
url: r2dbc:postgresql://localhost:5432/grouphq_groups
pool:
max-create-connection-time: 2s
initial-size: 5
max-size: 10
flyway:
user: ${spring.r2dbc.username}
password: ${spring.r2dbc.password}
url: jdbc:postgresql://localhost:5432/grouphq_group
url: jdbc:postgresql://localhost:5432/grouphq_groups
# config:
# import: optional:configserver:${SPRING_CLOUD_CONFIG_URI:http://localhost:8888}
cloud:
Expand Down

0 comments on commit 4d9369a

Please sign in to comment.