Mercurial > public > ssdt-docker
diff compose/preview/usas.yml @ 19:ebeaedb20e88
DEP-7: change local volumes to use PWD rather than relative to template
author | Dave smith <smith@nwoca.org> |
---|---|
date | Sun, 27 Dec 2015 18:23:31 -0500 |
parents | e882fb87199a |
children | ce113c143408 |
line wrap: on
line diff
--- a/compose/preview/usas.yml Sun Dec 27 18:09:39 2015 -0500 +++ b/compose/preview/usas.yml Sun Dec 27 18:23:31 2015 -0500 @@ -3,7 +3,7 @@ restart: unless-stopped image: docker.ssdt.io/ssdt-postgres:2 volumes: - - ./backup:/backup + - ${PWD}/backup:/backup environment: - DB_NAME=usasdb - DB_USER=usas @@ -12,7 +12,7 @@ restart: unless-stopped image: docker.ssdt.io/usas-app:preview volumes: - - ./config:/config + - ${PWD}/config:/config environment: - DB_HOST=database - DB_NAME=$${DATABASE_ENV_DB_NAME}