From f0e843ca5a45f733ee2a19ff799570a4853504f1 Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Tue, 27 Jun 2023 10:48:52 -0600
Subject: [PATCH] poke networking again

---
 docker-compose.yml | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index 9ea3db0f7..18859c5e7 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,10 +13,9 @@ services:
         - LOCAL_OR_SERVER_PEX="server-pex"
         - DEPLOY_ENV=${ENV}
     ports:
-      - target: 3456
-        published: 3456
-        protocol: tcp
-        mode: host
+      - "3456:3456"
+    networks:
+      - host
     environment:
       CAPO_PATH: /home/casa/capo
       CAPO_PROFILE: dsoc-${ENV}
@@ -99,10 +98,9 @@ services:
         - WS_VERSION=${WS_VERSION}
         - DEPLOY_ENV=${ENV}
     ports:
-      - target: 3458
-        published: 3458
-        protocol: tcp
-        mode: host
+      - "3458:3458"
+    networks:
+      - host
     environment:
       CAPO_PATH: /home/casa/capo
       CAPO_PROFILE: dsoc-${ENV}
@@ -163,5 +161,10 @@ services:
         parallelism: 0
         order: stop-first
 
+networks:
+  host:
+    external: true
+    name: host
+
 volumes:
   condor:
-- 
GitLab