Skip to content

Commit f6036ae

Browse files
committed
added supabase.crt file to fixed path on container
1 parent 9313003 commit f6036ae

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ WORKDIR /app
33

44
COPY build/libs/generic-server-spring-boot.jar /app/
55
COPY start.sh /app/
6+
COPY src/main/resources/supabase.crt /app/certs/supabase.crt
67
RUN chmod +x /app/start.sh
78
EXPOSE 8080
89
EXPOSE 9010

src/main/resources/application-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spring:
2020
cookie:
2121
same-site: strict
2222
datasource:
23-
url: "jdbc:postgresql://aws-1-ap-south-1.pooler.supabase.com:6543/postgres?user=postgres.hwnzjlovbrecaizjoqsn&password=${DB_PASSWORD}&sslmode=verify-full&sslrootcert=classpath:supabase.crt"
23+
url: "jdbc:postgresql://aws-1-ap-south-1.pooler.supabase.com:6543/postgres?user=postgres.hwnzjlovbrecaizjoqsn&password=${DB_PASSWORD}&sslmode=verify-full&sslrootcert=/app/certs/supabase.crt"
2424

2525
logging:
2626
level:

0 commit comments

Comments
 (0)