Skip to content

Commit

Permalink
manifest consolidation for L2 PCF
Browse files Browse the repository at this point in the history
- deploys efc and efc-web
- includes notes and json to create db
  • Loading branch information
Daniel Berry committed May 24, 2017
1 parent dc44b01 commit 88199ce
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cf/efc-db.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"db_username": "spacondev",
"db_name": "spacondev",
"postgis": true,
"db_encoding": "UTF-8",
"owner_email": "api@boundlessgeo.com",
"owner_name": "boundless"
}
34 changes: 34 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# build steps
#############
# NOTE: run the following from the root of spatialconnect-server
#############
# pushd web && npm install && npm run build:devio && popd
# pushd server && lein uberjar && popd
# if ! cf s | grep 'efc-db-test'; then cf cs pg_95_XL_DEV_SHARED_001 large-dev-100 efc-db-test -c cf/efc-db.json; fi
# cf push
#############
---
applications:
- name: efc-web-test
# added domain due to ssl support not working on default domain
domain: dev.dev.east.paas.geointservices.io
buildpack: staticfile_buildpack
memory: 64M
instances: 1
path: ./web/public
- name: efc-test
# added domain due to ssl support not working on default domain
domain: dev.dev.east.paas.geointservices.io
buildpack: java_buildpack_offline
memory: 2G
instances: 1
path: ./server/target/spacon-server.jar
env:
ALLOWED_ORIGINS: https://efc-web-test.dev.dev.east.paas.geointservices.io
AUTO_MIGRATE: true
ENV: DEV
KEY_STORE: /app/server/tls/test-keystore.p12
MQTT_CLIENT_ID: spacon-server-devio
TRUST_STORE: /app/server/tls/test-cacerts.jks
services:
- efc-db-test

0 comments on commit 88199ce

Please sign in to comment.