0-9194 / 0-9194/maverick-rpg-manager
API Docker Compose container configuration
未关闭
适合新手
- 主要语言
- CSS
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
Create the Docker Compose configuration that encapsulates the services to be running.
- **api**: the main container. This is where the API will run.
- image: `node-14:alpine`
- **db**: Database container.
- image: `postgres:14.4-alpine`
贡献指南
这个仓库没有索引到贡献指南
调研方向
在项目根目录中创建一个 docker-compose.yml 文件。定义两个服务:'api' 使用 node-14:alpine 镜像,'db' 使用 postgres:14.4-alpine 镜像。确保 API 服务依赖于数据库,并设置必要的环境变量,如数据库连接。检查现有项目结构,查找任何现有的 Docker 或配置文件,以便与项目的设置保持一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, docker-compose, node.js, postgresql
- 领域
- backend, databases, devops
- Issue 类型
- 功能
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 70/100