From ded1243cbd1d6d5073b8cefe9773638f5973d820 Mon Sep 17 00:00:00 2001
From: rick <rick@gnous.eu>
Date: Fri, 7 Mar 2025 22:08:29 +0100
Subject: [PATCH] first draft for conduwuit

---
 compute-1-mep/conduwuit/docker-compose.yaml | 50 +++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 compute-1-mep/conduwuit/docker-compose.yaml

diff --git a/compute-1-mep/conduwuit/docker-compose.yaml b/compute-1-mep/conduwuit/docker-compose.yaml
new file mode 100644
index 0000000..1f39eb1
--- /dev/null
+++ b/compute-1-mep/conduwuit/docker-compose.yaml
@@ -0,0 +1,50 @@
+# conduwuit - Behind Traefik Reverse Proxy
+
+services:
+  homeserver:
+    ### If you already built the conduduwit image with 'docker build' or want to use the Docker Hub image,
+    ### then you are ready to go.
+    image: girlbossceo/conduwuit:main-e3b81f7b6488b5c483e8b13e3959fe591bf4cb92
+    restart: unless-stopped
+    volumes:
+      - db:/var/lib/conduwuit
+      #- ./conduwuit.toml:/etc/conduwuit.toml
+    ports:
+      - 6167:6167
+    networks:
+      - proxy
+    env_file:
+      - .env
+    #cpuset: "0-4" # Uncomment to limit to specific CPU cores
+    ulimits: # conduwuit uses quite a few file descriptors, and on some systems it defaults to 1024, so you can tell docker to increase it
+      nofile:
+        soft: 1048567
+        hard: 1048567
+
+  ### Uncomment if you want to use your own Element-Web App.
+  ### Note: You need to provide a config.json for Element and you also need a second
+  ###       Domain or Subdomain for the communication between Element and conduwuit
+  ### Config-Docs: https://github.com/vector-im/element-web/blob/develop/docs/config.md
+  #element-web:
+  #    image: vectorim/element-web:latest
+  #    restart: unless-stopped
+  #    #volumes:
+  #    #    - ./element_config.json:/app/config.json
+  #    networks:
+  #        - proxy
+  #    ports:
+  #      - 3000:80
+  #    depends_on:
+  #        - homeserver
+
+volumes:
+  conduwuit_db:
+    driver: local
+
+networks:
+  # This is the network Traefik listens to, if your network has a different
+  # name, don't forget to change it here and in the docker-compose.override.yml
+  proxy:
+    external: true
+
+# vim: ts=2:sw=2:expandtab