浏览代码

make nextcloud depend on postgres

Jason Playne 3 年之前
父节点
当前提交
78dcc29e42
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      network/docker-compose.yml

+ 2 - 0
network/docker-compose.yml

@@ -75,6 +75,8 @@ services:
       - POSTGRES_USER=nextcloud
       - POSTGRES_PASSWORD=nextcloud
       - POSTGRES_HOST=postgres
+    depends_on:
+      - postgres
 
   postgres:
     image: postgres:14