Skip to content
This repository was archived by the owner on Feb 28, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions app/templates/cli-config.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,56 @@
# The IBM version of this configuration
version : 0.0.3

# The container name used for the run container
container-name-run : "<%= bluemix.name.toLowerCase() %>-express-run"
# The container name used for the tools container
container-name-tools : "<%= bluemix.name.toLowerCase() %>-express-tools"

# The project root on the host for the run container to mount to container-path-run
host-path-run : .
# The project root on the host for the tools container to mount to container-path-tools
host-path-tools : .

# The project root in the run container to mount to host-path-run
container-path-run : "/app"
# The project root in the tools container that will be mounted to host-path-tools
container-path-tools : "/app"

# The list of additional mounts between the host and the run container in the form [host_path:container_path]
container-mounts-run:
- "./node_modules_linux": "/app/node_modules"
# The list of additional mounts between the host and the tools container in the form [host_path:container_path]
container-mounts-tools:
- "./node_modules_linux": "/app/node_modules"

# The port mappings between the host and the container in the form [host:container]
container-port-map : "3000:3000"
# The port mappings between the host and the container for the debug port in the form [host:container]
container-port-map-debug : "5858:5858"

# The name for the dockerfile for the run container
dockerfile-run : "Dockerfile"
# The name for the dockerfile for the tools container
dockerfile-tools : "Dockerfile-tools"

# The name of image to create from dockerfile-run
image-name-run : "<%= bluemix.name.toLowerCase() %>-express-run"
# The name of image to create from dockerfile-tools
image-name-tools : "<%= bluemix.name.toLowerCase() %>-express-tools"

# The command to build the code and docker image for RUN
build-cmd-run : "npm install"
# The command to execute tests for the code in the tools container
test-cmd : "npm run test"
# The command to build the code and docker image for DEBUG
build-cmd-debug : "npm install"

# The command to run the code in the run container
run-cmd : ""
# The command to execute debug of the code in the tools container
debug-cmd : "npm run debug"
# The command to stop the code
stop-cmd : "npm stop"

# The relative path to the helm chart used for Kubernetes deployment
chart-path: "chart/<%= bluemix.name.toLowerCase()%>"
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-ibm-core-node-express",
"version": "0.0.54",
"version": "0.0.55",
"description": "Yeoman generator for core node express application",
"license": "Apache-2.0",
"keywords": [
Expand Down