diff compose/preview/usps.yml @ 32:46e876a745d5

adjust yml files for docker neworking
author smith@nwoca.org
date Tue, 19 Jan 2016 01:46:26 +0000
parents ce113c143408
children 0d1d1abe035e
line wrap: on
line diff
--- a/compose/preview/usps.yml	Tue Jan 19 01:10:38 2016 +0000
+++ b/compose/preview/usps.yml	Tue Jan 19 01:46:26 2016 +0000
@@ -2,6 +2,7 @@
 uspsdb:
   restart: unless-stopped
   image: docker.ssdt.io/ssdt-postgres:2
+  hostname: uspsdb
   volumes:
     - ${PWD}/backup:/backup
   environment:
@@ -14,7 +15,7 @@
   volumes:
     - ${PWD}/config:/config
   environment:
-    - DB_HOST=database
+    - DB_HOST=uspsdb
     - DB_NAME=uspsdb
     - DB_USER=usps
     - DB_PASS=uspsdefault