From 9501b4270590d3cf6143b3de74ce47b8a1766593 Mon Sep 17 00:00:00 2001 From: rfaircloth-splunk Date: Tue, 4 Feb 2020 20:32:20 -0500 Subject: [PATCH] Update docker-compose.yml --- tests/docker-compose.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/docker-compose.yml b/tests/docker-compose.yml index ad37c4b..dc1f9fb 100644 --- a/tests/docker-compose.yml +++ b/tests/docker-compose.yml @@ -8,16 +8,18 @@ #work. If not, see . version: "3.7" -networks: - hostnet: - external: true - name: host +networks: + app_net: + ipam: + driver: bridge + config: + - subnet: "172.16.238.0/24" services: sc4s: networks: - hostnet: {} + app_net: {} build: context: ../package container_name: sc4s @@ -55,7 +57,7 @@ services: - ./tls:/opt/syslog-ng/tls splunk: networks: - hostnet: {} + app_net: {} build: context: ../splunk