Skip to content

A quick demo to provision an in-cluster mongodb database as a resource then used by a frontend app.

Notifications You must be signed in to change notification settings

Humanitec-DemoOrg/mongodb-in-cluster-as-resource

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

mongodb-in-cluster-as-resource

export HUMANITEC_ORG=FIXME
export HUMANITEC_TOKEN=FIXME

As Platform Admin, define an in-cluster mongodb resource:

humctl create \
    -f mongodb-incluster-resource.yaml

As Developer, deploy the frontend app talking to the mongodb resource:

ENVIRONMENT=development
MONGO_APP=your-mongo-app

score-humanitec delta \
    --deploy \
    --app ${MONGO_APP} \
    --env ${ENVIRONMENT} \
    --org ${HUMANITEC_ORG} \
    --token ${HUMANITEC_TOKEN} \
    --retry \
    -f score.yaml

About

A quick demo to provision an in-cluster mongodb database as a resource then used by a frontend app.

Topics

Resources

Stars

Watchers

Forks