From bd639708ffa65764cfd1956f73b493e339afb7cb Mon Sep 17 00:00:00 2001
From: Marie <marie@kaifa.ch>
Date: Sat, 21 Oct 2023 18:02:55 +0200
Subject: [PATCH] chore: update compose example to use keydb and fix network
 related issue

---
 docker-compose.yml.example | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/docker-compose.yml.example b/docker-compose.yml.example
index 287a23cab8..244b86e91f 100644
--- a/docker-compose.yml.example
+++ b/docker-compose.yml.example
@@ -2,6 +2,7 @@ version: "3"
 
 services:
   web:
+#   image: ghcr.io/transfem-org/sharkey:stable
     build: .
     restart: always
     links:
@@ -17,20 +18,19 @@ services:
       - "3000:3000"
     networks:
       - shonk
-      - web
     volumes:
       - ./files:/sharkey/files
       - ./.config:/sharkey/.config:ro
 
   redis:
     restart: always
-    image: redis:7-alpine
+    image: eqalpha/keydb:latest
     networks:
       - shonk
     volumes:
       - ./redis:/data
     healthcheck:
-      test: "redis-cli ping"
+      test: "keydb-cli ping"
       interval: 5s
       retries: 20
 
@@ -64,5 +64,3 @@ services:
 
 networks:
   shonk:
-  web:
-    external: true
-- 
GitLab