Skip to content

Conversation

locnguyen1986
Copy link
Contributor

  • Add the local docker-compose.yml
  • Add new task for local start and debugging
image

@locnguyen1986 locnguyen1986 requested a review from jjchen01 August 27, 2025 07:26
@locnguyen1986 locnguyen1986 self-assigned this Aug 27, 2025
@@ -0,0 +1,82 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDE settings should be in the readme, not the codebase.

@@ -0,0 +1,91 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDE settings should be in the readme, not the codebase.

@@ -0,0 +1,25 @@
version: '3.8'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider moving this to https://github.com/menloresearch/jan-server/blob/main/scripts/run.sh.
and update the dependency:
https://github.com/menloresearch/jan-server/blob/main/charts/umbrella-chart/values.yaml

"preLaunchTask": "Start Database"
}
]
} No newline at end of file
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code gen for db schema
{
"name": "CodeGen",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd/codegen/gorm",
"env": {
"local_dev": "1",
"DB_POSTGRESQL_WRITE_DSN": "host=localhost user=migration password=migration dbname=migration port=5432 sslmode=disable",
"DB_POSTGRESQL_READ1_DSN": "host=localhost user=migration password=migration dbname=migration port=5432 sslmode=disable",
}
},

@locnguyen1986 locnguyen1986 merged commit 56f5c2f into main Aug 27, 2025
1 check passed
@locnguyen1986 locnguyen1986 deleted the feat/docker-local branch August 27, 2025 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants