Browse Source

added restart policy in comments

tags/v1.4.0^0
Robin Thoni 7 years ago
parent
commit
0014b6d28a
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      docker-compose.yml

+ 6
- 0
docker-compose.yml View File

4
     database:
4
     database:
5
         build: ./postgresql
5
         build: ./postgresql
6
         container_name: mx-postgresql
6
         container_name: mx-postgresql
7
+#        restart: unless-stopped
7
         networks:
8
         networks:
8
             mx.internal.docker:
9
             mx.internal.docker:
9
                 aliases:
10
                 aliases:
19
     postfixadmin:
20
     postfixadmin:
20
         build: ./postfixadmin
21
         build: ./postfixadmin
21
         container_name: mx-postfixadmin
22
         container_name: mx-postfixadmin
23
+#        restart: unless-stopped
22
         networks:
24
         networks:
23
             mx.internal.docker:
25
             mx.internal.docker:
24
                 aliases:
26
                 aliases:
31
     postfix:
33
     postfix:
32
         build: ./postfix
34
         build: ./postfix
33
         container_name: mx-postfix
35
         container_name: mx-postfix
36
+#        restart: unless-stopped
34
         networks:
37
         networks:
35
             mx.internal.docker:
38
             mx.internal.docker:
36
                 aliases:
39
                 aliases:
45
     dovecot:
48
     dovecot:
46
         build: ./dovecot
49
         build: ./dovecot
47
         container_name: mx-dovecot
50
         container_name: mx-dovecot
51
+#        restart: unless-stopped
48
         networks:
52
         networks:
49
             mx.internal.docker:
53
             mx.internal.docker:
50
                 aliases:
54
                 aliases:
63
     opendkim:
67
     opendkim:
64
         build: ./opendkim
68
         build: ./opendkim
65
         container_name: mx-opendkim
69
         container_name: mx-opendkim
70
+#        restart: unless-stopped
66
         networks:
71
         networks:
67
             mx.internal.docker:
72
             mx.internal.docker:
68
                 aliases:
73
                 aliases:
75
     milter-sasl:
80
     milter-sasl:
76
         build: ./milter-sasl
81
         build: ./milter-sasl
77
         container_name: mx-milter-sasl
82
         container_name: mx-milter-sasl
83
+#        restart: unless-stopped
78
         networks:
84
         networks:
79
             mx.internal.docker:
85
             mx.internal.docker:
80
                 aliases:
86
                 aliases:

Loading…
Cancel
Save