浏览代码

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

master
Miguel Gagliardo 5 个月前
父节点
当前提交
286c2ce7e8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      docker-compose.yaml

+ 2
- 2
docker-compose.yaml 查看文件

@@ -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

正在加载...
取消
保存