Autodesk / molecular-simulation-tools

Web applications for molecular modeling using the Molecular Design Toolkit
http://molsim.bionano.autodesk.com
Apache License 2.0
16 stars 10 forks source link

add uri and settings for postgress sql db #277

Closed PeterRJones closed 7 years ago

PeterRJones commented 7 years ago

This PR is step 1 of 3 to get mst connected to the running postgress sql cluster.

Changes are to set the db uri and normalized env settings between the build and prod docker-compose files.

Note that ccc.${BNR_ENVIRONMENT}.bionano.bio:9000 is the same loadbalancer end point as internal-lb.${BNR_ENVIRONMENT}.bionano.bio:9000 so using the lb name for clarity and consistency.

Additional steps, happening in parallel, are:

  1. create mstDBv1 database and user in dev and prod environments
  2. create mstDBUser and set password for dev deployment
  3. setup Dockerfile for postgress db and setup user & db on launch
  4. this user and db have been created in aws environment(s)
  5. update jenkins deploy jobs to use these values in connection url during deployment
PeterRJones commented 7 years ago

//cc @dionjwa @justinmc

PeterRJones commented 7 years ago