From 46cd92befdaebffb25e5e2249b413f26302714c7 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 7 Dec 2024 13:14:17 +0200 Subject: [PATCH] Docker Compose: Small network fix. There are multiple services deployed by Docker Compose on the host. The first one creates the Docker network shared by all of them. However, newer versions of Docker Compose check the network tags and if the tag for the service doesn't match it (rightfully) complains. Instead the network is now created by an Ansible playbook when first provisioning the host and the network is marked as externally managed in all of the services. --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 391b8c7..a6da1ab 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -70,4 +70,5 @@ volumes: networks: default: + external: true name: shore -- GitLab