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

Loading…
Cancel
Save