Browse Source

added restart policy in comments

tags/v2.0.0
Robin Thoni 2 years ago
parent
commit
d0789c74c5
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      docker-compose.yml

+ 6
- 0
docker-compose.yml View File

@@ -4,6 +4,7 @@ services:
4 4
     postgresql:
5 5
         build: ./postgresql
6 6
         container_name: pdns-postgresql
7
+#        restart: unless-stopped
7 8
         networks:
8 9
             pdns.internal.docker:
9 10
                 aliases:
@@ -19,6 +20,7 @@ services:
19 20
     poweradmin:
20 21
         build: ./poweradmin
21 22
         container_name: pdns-poweradmin
23
+#        restart: unless-stopped
22 24
         networks:
23 25
             pdns.internal.docker:
24 26
                 aliases:
@@ -31,6 +33,7 @@ services:
31 33
     pdns:
32 34
         build: ./pdns
33 35
         container_name: pdns-pdns
36
+#        restart: unless-stopped
34 37
         networks:
35 38
             pdns.internal.docker:
36 39
                 aliases:
@@ -45,6 +48,7 @@ services:
45 48
     pdns-recursor:
46 49
         build: ./pdns-recursor
47 50
         container_name: pdns-pdns-recursor
51
+#        restart: unless-stopped
48 52
         networks:
49 53
             pdns.internal.docker:
50 54
                 aliases:
@@ -55,6 +59,7 @@ services:
55 59
     postgresql-slave1:
56 60
         build: ./postgresql
57 61
         container_name: pdns-postgresql-slave1
62
+#        restart: unless-stopped
58 63
         networks:
59 64
             pdns.internal.docker:
60 65
                 aliases:
@@ -72,6 +77,7 @@ services:
72 77
     postgresql-slave2:
73 78
         build: ./postgresql
74 79
         container_name: pdns-postgresql-slave2
80
+#        restart: unless-stopped
75 81
         networks:
76 82
             pdns.internal.docker:
77 83
                 aliases:

Loading…
Cancel
Save