Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (36 sloc) 866 Bytes
module:
description: Hello world container service
type: container
name: hello-container
services:
- name: hello-container
args: [npm, start]
ports:
- name: http
containerPort: 8080
ingresses:
- path: /hello
port: http
healthCheck:
httpGet:
path: /_ah/health
port: http
dependencies:
- hello-function
env:
FUNCTION_ENDPOINT: ${modules.hello-function.outputs.endpoint}
build:
dependencies:
- name: hello-npm-package
copy:
- source: "./"
target: libraries/hello-npm-package/
tests:
- name: unit
args: [npm, test]
- name: integ
args: [npm, run, integ]
env:
FUNCTION_ENDPOINT: ${modules.hello-function.outputs.endpoint}
dependencies:
- hello-function