瀏覽代碼

added restart policy in comments

tags/v1.0.1^0
Robin Thoni 7 年之前
父節點
當前提交
0cd85f01b2
共有 1 個檔案被更改,包括 3 行新增0 行删除
  1. 3
    0
      docker-compose.yml

+ 3
- 0
docker-compose.yml 查看文件

@@ -4,6 +4,7 @@ services:
4 4
     database:
5 5
         build: ./postgresql
6 6
         container_name: zabbix-postgresql
7
+#        restart: unless-stopped
7 8
         networks:
8 9
             zabbix.internal.docker:
9 10
                 aliases:
@@ -19,6 +20,7 @@ services:
19 20
     zabbix:
20 21
         build: ./zabbix
21 22
         container_name: zabbix-zabbix
23
+#        restart: unless-stopped
22 24
         networks:
23 25
             zabbix.internal.docker:
24 26
                 aliases:
@@ -31,6 +33,7 @@ services:
31 33
     frontend:
32 34
         build: ./frontend
33 35
         container_name: zabbix-frontend
36
+#        restart: unless-stopped
34 37
         networks:
35 38
             zabbix.internal.docker:
36 39
                 aliases:

Loading…
取消
儲存