Mercurial > public > ssdt-docker
diff compose/preview/usas.yml @ 14:5643072a1af9
DEP-7: formalize ssdt-utils image. add template preview usas compose file
author | smith@nwoca.org |
---|---|
date | Sun, 27 Dec 2015 19:24:12 +0000 |
parents | |
children | 976b754592f4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compose/preview/usas.yml Sun Dec 27 19:24:12 2015 +0000 @@ -0,0 +1,22 @@ +# base compose file for USAS preview release +usasdb: + restart: always + image: docker.ssdt.io/ssdt-postgres:2 + volumes: + - ./backup:/backup + environment: + - DB_NAME=usasdb + - DB_USER=usas + - DB_PASS=usasdefault +usasapp: + restart: always + image: docker.ssdt.io/usas-app:preview + volumes: + - ./config:/config + links: + - usasdb:database + environment: + - DB_HOST=database + - DB_NAME=$${DATABASE_ENV_DB_NAME} + - DB_USER=$${DATABASE_ENV_DB_USER} + - DB_PASS=$${DATABASE_ENV_DB_PASS}