{"id":19557286,"url":"https://github.com/wpcfan/devcontainer-nestjs-postgresql","last_synced_at":"2026-03-02T07:02:06.539Z","repository":{"id":245514806,"uuid":"818168310","full_name":"wpcfan/devcontainer-nestjs-postgresql","owner":"wpcfan","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-22T01:29:03.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T08:15:13.394Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpcfan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-21T08:43:35.000Z","updated_at":"2024-06-22T01:29:05.000Z","dependencies_parsed_at":"2024-06-22T14:45:00.840Z","dependency_job_id":null,"html_url":"https://github.com/wpcfan/devcontainer-nestjs-postgresql","commit_stats":null,"previous_names":["wpcfan/devcontainer-nestjs-postgres"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/wpcfan/devcontainer-nestjs-postgresql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcfan%2Fdevcontainer-nestjs-postgresql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcfan%2Fdevcontainer-nestjs-postgresql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcfan%2Fdevcontainer-nestjs-postgresql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcfan%2Fdevcontainer-nestjs-postgresql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcfan","download_url":"https://codeload.github.com/wpcfan/devcontainer-nestjs-postgresql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcfan%2Fdevcontainer-nestjs-postgresql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29994618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T04:41:27.462Z","updated_at":"2026-03-02T07:02:06.518Z","avatar_url":"https://github.com/wpcfan.png","language":"Dockerfile","readme":"# 适合于 Nestjs 开发的 devcontainer 配置\n\n这是一个适合于 Nestjs 开发的 devcontainer 配置，可以在 vscode 中使用 devcontainer 插件直接启动一个开发环境。 已经包含 `nodejs`、`typescript`、`nest`、`PostgreSQL`、`adminer` 等常用工具和服务。\n\n## 使用方法\n\n1. 安装 vscode 插件：Remote - Containers\n2. 使用 Github 的模板功能，创建一个新的仓库，即在本仓库的右上角点击 `Use this template`，然后在新仓库中 clone 代码。\n3. 打开 vscode，打开项目根目录\n4. 点击左下角的 `\u003e\u003c` 图标，选择 `Reopen in Container`\n\n## 配置说明\n\n- `Dockerfile`：用于构建 devcontainer 的 Dockerfile\n- `devcontainer.json`：devcontainer 配置文件\n- `docker-compose.yml`：用于启动数据库等服务\n\n## 服务说明\n\n- `nodejs`：nodejs 环境\n- `typescript`：typescript 编译环境\n- `nest`：nest 框架\n- `PostgreSQL`：数据库\n- `adminer`：数据库管理工具\n\n## 运行端口\n\n- `3000`：nest 服务\n- `8081`：adminer\n- `5432`：PostgreSQL\n\n## 注意事项\n\n- 请确保安装了 Docker Desktop\n- 请确保安装了 vscode 插件：Remote - Containers\n- 请避免端口冲突，如有冲突请修改 `docker-compose.yml` 中的端口映射，本项目默认暴露端口为 `3000`、`8081`、`5432`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcfan%2Fdevcontainer-nestjs-postgresql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcfan%2Fdevcontainer-nestjs-postgresql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcfan%2Fdevcontainer-nestjs-postgresql/lists"}