Browse Source

added restart policy in comments

tags/v1.0.0
Robin Thoni 6 years ago
parent
commit
94063804b8
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      docker-compose.yml

+ 3
- 0
docker-compose.yml View File

@@ -4,6 +4,7 @@ services:
4 4
     isc-dhcp:
5 5
         build: ./isc-dhcp
6 6
         container_name: dhcp-isc-dhcp
7
+#        restart: unless-stopped
7 8
         volumes:
8 9
             - ./data/isc-dhcp:/data
9 10
         network_mode: host
@@ -13,6 +14,7 @@ services:
13 14
     tftpd:
14 15
         build: ./tftpd
15 16
         container_name: dhcp-tftpd
17
+#        restart: unless-stopped
16 18
         volumes:
17 19
             - ./data/tftpd/tftp:/srv/tftp/
18 20
         network_mode: host
@@ -22,6 +24,7 @@ services:
22 24
     apache:
23 25
         build: ./apache
24 26
         container_name: dhcp-apache
27
+#        restart: unless-stopped
25 28
         volumes:
26 29
             - ./data/apache/files:/var/www
27 30
         ports:

Loading…
Cancel
Save