Przeglądaj źródła

Fixing a psycopg2 + docker bug - Forcing docker to always bounce the container

master
Miguel Gagliardo 5 miesięcy temu
rodzic
commit
286c2ce7e8
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      docker-compose.yaml

+ 2
- 2
docker-compose.yaml Wyświetl plik

@@ -3,7 +3,7 @@ services:
3 3
 
4 4
   synapse:
5 5
     image: ghcr.io/element-hq/synapse:latest
6
-    restart: unless-stopped
6
+    restart: always
7 7
     environment:
8 8
       - SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
9 9
     volumes:
@@ -61,7 +61,7 @@ services:
61 61
 
62 62
   sliding-sync:
63 63
     image: ghcr.io/matrix-org/sliding-sync:latest
64
-    restart: unless-stopped
64
+    restart: always
65 65
     environment:
66 66
       - SYNCV3_BINDADDR=:8008
67 67
       - SYNCV3_SERVER=https://DOMAIN

Ładowanie…
Anuluj
Zapisz