-
Notifications
You must be signed in to change notification settings - Fork 95
Create docker-compose.yml #29
base: master
Are you sure you want to change the base?
Conversation
Docker-compose example.
I think the example would be better served if it was part of the README instead of as a stand-alone file. |
version: 3 is not necessary. you should delete |
- /home/dhcp:/data | ||
network_mode: "host" | ||
environment: | ||
- TZ=Pacific/Auckland |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be part of the PR, as it is a personal setting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you mount read-only /etc/localtime instead and get the same behavior?
restart: unless-stopped | ||
ports: | ||
# Public dhcpd Port: | ||
- "67:67/udp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Port publishing is meaningless in the host network.
version: "3" | ||
services: | ||
dhcp: | ||
image: networkboot/dhcpd:latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use a specific version instead of :latest
.
# Public dhcpd Port: | ||
- "67:67/udp" | ||
volumes: | ||
- /home/dhcp:/data |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should not be part of the PR, as it is a personal setting.
Prefer a relative path, - ./data:/data
maybe.
Docker-compose example.
This might assist ppl in writing a docker-compose.yml for themselves