feat(builder): 新增nodejs环境配置并更新golang挂载路径

添加nodejs的env.cfg配置文件及compose.yml模板
更新golang的compose.yml中volumes路径使用变量替换
This commit is contained in:
cnphpbb
2025-08-15 17:43:07 +08:00
parent 03bc90e20c
commit d85b729837
3 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
# run:: docker compose -p memos --env-file ./builder/nodejs/env.cfg -f ./builder/nodejs/compose.yml up -d
services:
golang:
image: ${IMAGE_TAG_BASH}
container_name: "build-nodejs"
restart: always
tty: true
command: bash
volumes:
- ${Volumes_Path}/${PROJECT_NAME}:/app
working_dir: /app