Postgres integration #74

Merged
kruti merged 4 commits from kruti/CFTunnels:feature/33-postgres-database into test 2025-10-12 18:11:34 +00:00
Owner

Description

## Description - Postgres integration Hithomelabs/HomeLabDocker#33
kruti added 1 commit 2025-10-12 16:47:10 +00:00
Postgres integration
Some checks failed
sample gradle build and test / build (pull_request) Failing after 4m41s
c567cf766d
kruti requested review from hitanshu 2025-10-12 16:47:27 +00:00
hitanshu reviewed 2025-10-12 16:49:49 +00:00
@ -15,3 +17,2 @@
- stack.env
restart: unless-stopped
- .env
Owner

Replace this to be stack.env

Replace this to be `stack.env`
kruti marked this conversation as resolved
hitanshu reviewed 2025-10-12 16:54:06 +00:00
@ -18,0 +18,4 @@
- .env
restart: unless-stopped
postgres:
image: postgres:15
Owner

Can you use postgres:15-alpine ?

Can you use postgres:15-alpine ?
kruti marked this conversation as resolved
hitanshu reviewed 2025-10-12 16:57:27 +00:00
@ -18,0 +28,4 @@
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
Owner

Map this to an env variable

Map this to an env variable
kruti marked this conversation as resolved
hitanshu reviewed 2025-10-12 17:00:48 +00:00
@ -19,1 +18,4 @@
spring.security.oauth2.client.provider.cftunnels.issuer-uri=https://auth.hithomelabs.com/application/o/cftunnels/
spring.datasource.url=jdbc:postgresql://localhost:5432/cftunnel
Owner

Add the private IP of the server instead of localhost

spring.datasource.url=jdbc:postgresql://192.168.1.100:5432/cftunnel

Add the private IP of the server instead of localhost spring.datasource.url=jdbc:postgresql://192.168.1.100:5432/cftunnel
kruti marked this conversation as resolved
hitanshu requested changes 2025-10-12 17:01:06 +00:00
Dismissed
hitanshu left a comment
Owner

Pls. look at the comments

Pls. look at the comments
kruti added 1 commit 2025-10-12 17:25:18 +00:00
bug fixes
Some checks failed
sample gradle build and test / build (pull_request) Failing after 1m37s
bbadd41ec4
hitanshu approved these changes 2025-10-12 17:27:13 +00:00
hitanshu left a comment
Owner

Looks good

Looks good
kruti added 1 commit 2025-10-12 17:58:32 +00:00
sql init set to never
Some checks failed
sample gradle build and test / build (pull_request) Failing after 1m31s
729d0ddcfc
kruti added 1 commit 2025-10-12 18:08:46 +00:00
dialect readded
All checks were successful
sample gradle build and test / build (pull_request) Successful in 1m35s
sample gradle build and test / tag (push) Successful in 7s
sample gradle build and test / build_tag_push (push) Successful in 3m21s
b804cc978f
kruti merged commit b804cc978f into test 2025-10-12 18:11:34 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Hithomelabs/CFTunnels#74
No description provided.