浏览代码

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

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

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

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

正在加载...
取消
保存