]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7864
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 1 Dec 2025 15:01:54 +0000 (16:01 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 1 Dec 2025 15:01:54 +0000 (16:01 +0100)
resources/hosting/server/docker-compose.yml

index 0ff3940068c721633f02e191865c5092fc74d494..8d0e4370b6d252ae2d1a7813668123021ad3ac09 100644 (file)
@@ -1,17 +1,21 @@
 services:
-    webserver:
-        container_name: fluidbook-$hosting-server-$sid
-        image: $image
-        volumes:
-            - '$path:$dockerpath'
-            - './config/httpd.conf:/etc/apache2/conf-enabled/99-config.conf'
-        environment:
-            VIRTUAL_HOST: $domains
-            LETSENCRYPT_HOST: $domains
-        networks:
-            - fluidbook-$hosting
-            - nginxproxy
-        restart: unless-stopped
+  webserver:
+    container_name: fluidbook-$hosting-server-$sid
+    image: $image
+    volumes:
+      - '$path:$dockerpath'
+      - './config/httpd.conf:/etc/apache2/conf-enabled/99-config.conf'
+    environment:
+      VIRTUAL_HOST: $domains
+      LETSENCRYPT_HOST: $domains
+    networks:
+      - fluidbook-$hosting
+      - nginxproxy
+    restart: unless-stopped
+    logging:
+      options:
+        max-size: "10m"
+        max-file: "3"
 
 networks:
   fluidbook-$hosting: