changeset 128:c39100a00b5c

DEP-12: add explicit network defintions for backend
author smith@nwoca.org
date Mon, 08 May 2017 15:37:46 +0100
parents b1296e800108
children 5c986cbb22b8
files compose2/preview/usxs-services.yml
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/compose2/preview/usxs-services.yml	Sat May 06 19:05:39 2017 +0100
+++ b/compose2/preview/usxs-services.yml	Mon May 08 15:37:46 2017 +0100
@@ -6,6 +6,8 @@
     image: docker.ssdt.io/ssdt-postgres:4
     volumes:
       - usasdata:/var/lib/postgresql/data
+    networks:
+      - default
     environment:
       - DB_NAME=usasdb
       - DB_USER=usas
@@ -13,6 +15,8 @@
   usasapp-base:
     restart: unless-stopped
     image: docker.ssdt.io/usas-app:preview
+    networks:
+      - default
     environment:
       - DB_HOST=usasdb
       - DB_NAME=usasdb
@@ -35,6 +39,8 @@
     image: docker.ssdt.io/ssdt-postgres:4
     volumes:
       - uspsdata:/var/lib/postgresql/data
+    networks:
+      - default
     environment:
       - DB_NAME=uspsdb
       - DB_USER=usps
@@ -42,6 +48,8 @@
   uspsapp-base:
     restart: unless-stopped
     image: docker.ssdt.io/usps-app:preview
+    networks:
+      - default
     environment:
       - DB_HOST=uspsdb
       - DB_NAME=uspsdb