From 18f21845cee39a9941216a8c13cf26b5495b44ae Mon Sep 17 00:00:00 2001
From: davidg73 <david.gunnarsson@univie.ac.at>
Date: Wed, 14 May 2025 11:39:00 +0200
Subject: [PATCH] Explicitly specify networks in docker compose

needed so that the services use the defined network and so that the db can be accessed from beta.facem.at, which also is in the same network
---
 docker-compose.production.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docker-compose.production.yml b/docker-compose.production.yml
index 8a08980..21d7117 100644
--- a/docker-compose.production.yml
+++ b/docker-compose.production.yml
@@ -14,6 +14,8 @@ services:
     tty: true
     depends_on:
       - db
+    networks:
+      - facem-backoffice-network
   db:
     image: mariadb:10.4
     ports:
@@ -22,6 +24,8 @@ services:
       - mariadb_data:/var/lib/mysql
     env_file:
       - .env.production
+    networks:
+      - facem-backoffice-network
 volumes:
   mariadb_data:
 
-- 
GitLab