Skip to content

Instantly share code, notes, and snippets.

@ddonahue99
Created September 10, 2020 18:37
Show Gist options
  • Save ddonahue99/a1e2976010962cf69499016169067283 to your computer and use it in GitHub Desktop.
Save ddonahue99/a1e2976010962cf69499016169067283 to your computer and use it in GitHub Desktop.
{
"name": "main",
"common": {
"container": {
"environment": {
"NODE_ENV": "development",
"MONGO_URI": "mongodb://mongo:27017",
"REDIS_URI": "redis",
"EVENT_SERVER": "nats://nats-streaming:4222",
"RUN_MIGRATIONS_UP": "true",
"RUN_MIGRATIONS_DOWN": "false"
}
},
"router": {
"router": "cor-proxy",
"upstreams": {
"main": "${host}:3000"
},
"paths": {
"/(img|js|css|font)": "http://main{req.prefix}",
"/core-assets": "http://main{req.prefix}",
"/apps": "http://main{req.prefix}",
"/api/v1/apps": "http://main{req.prefix}",
"/api/v1/institution": "http://main{req.prefix}",
"/api/v1/institutions": "http://main{req.prefix}",
"/users": "http://main{req.prefix}",
"/api/v1/users": "http://main{req.prefix}",
"/api/v1/tokens": "http://main{req.prefix}",
"/auth": "http://main{req.prefix}",
"/api/v1/auth": "http://main{req.prefix}",
"/api/v1/jobs": "http://main{req.prefix}",
"/api/v1/notification-templates": "http://main{req.prefix}",
"/api/v1/notifications": "http://main{req.prefix}",
"/groups": "http://main{req.prefix}",
"/api/v1/groups": "http://main{req.prefix}",
"/api/v1/categories": "http://main{req.prefix}",
"/api/v1/role-instances": "http://main{req.prefix}",
"/cor/settings": "http://main{req.prefix}",
"/cor/main": "http://main{req.prefix}"
}
},
"dependencies": {
"mongo": "https://s3-us-west-2.amazonaws.com/co.kuali.cor.build-assets/mongo-3.4.9.kdc.json",
"redis": "https://s3-us-west-2.amazonaws.com/co.kuali.cor.build-assets/redis-3.2.4-alpine.kdc.json",
"nats-streaming": "https://s3-us-west-2.amazonaws.com/co.kuali.cor.build-assets/nats-streaming-0.6.0.kdc.json"
},
"optional-dependencies": {
"elasticsearch": "https://s3-us-west-2.amazonaws.com/co.kuali.cor.build-assets/elasticsearch-5.6.2.kdc.json"
}
},
"build": {
"container": {
"build": {
"context": "${KUDE_BUILD_HOME}",
"dockerfile": "Dockerfile",
"args": {
"npmRegistry": "https://registry.npmjs.org/",
"NPM_TOKEN": "${KUDE_NPM_TOKEN}"
}
},
"volumes": [
"${KUDE_BUILD_HOME}:/usr/src/app",
"/usr/src/app/node_modules",
"/usr/src/app/core/node_modules",
"/usr/src/app/core/client/node_modules"
],
"ports": [3000, 3001, 5858],
"command": "npm run cor_dev_debug"
}
},
"image": {
"container": {
"image": "667650582711.dkr.ecr.us-west-2.amazonaws.com/cor-main:20200910180230",
"ports": [3000],
"command": ["node", "index"]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment