# HG changeset patch # User smith@nwoca.org # Date 1452647973 0 # Node ID cea023cef5b2451396708aa72d8c00014ebd02c9 # Parent 6a4ba408b8c4a7e0a69360882077a88b60db97d7 add usps preview compose files diff -r 6a4ba408b8c4 -r cea023cef5b2 compose/preview/usps.template.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compose/preview/usps.template.yml Wed Jan 13 01:19:33 2016 +0000 @@ -0,0 +1,12 @@ +uspsdb: + extends: + file: /ssdt/compose/preview/usps.yml + service: uspsdb + volumes: + - |volumeName|:/var/lib/postgresql/data +uspsapp: + extends: + file: /ssdt/compose/preview/usps.yml + service: uspsapp + links: + - uspsdb:database diff -r 6a4ba408b8c4 -r cea023cef5b2 compose/preview/usps.yml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compose/preview/usps.yml Wed Jan 13 01:19:33 2016 +0000 @@ -0,0 +1,20 @@ +# base compose file for usps preview release +uspsdb: + restart: unless-stopped + image: docker.ssdt.io/ssdt-postgres:2 + volumes: + - ${PWD}/backup:/backup + environment: + - DB_NAME=uspsdb + - DB_USER=usps + - DB_PASS=uspsdefault +uspsapp: + restart: unless-stopped + image: docker.ssdt.io/usps-app:preview + volumes: + - ${PWD}/config:/config + environment: + - DB_HOST=database + - DB_NAME=$${DATABASE_ENV_DB_NAME} + - DB_USER=$${DATABASE_ENV_DB_USER} + - DB_PASS=$${DATABASE_ENV_DB_PASS}