changeset 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 459ef905cbd5
children 4b562f05d0f9
files compose/preview/usas.yml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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}