-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: "3" | ||
services: | ||
dhcp: | ||
image: networkboot/dhcpd:latest | ||
container_name: dhcpd | ||
restart: unless-stopped | ||
ports: | ||
# Public dhcpd Port: | ||
- "67:67/udp" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Port publishing is meaningless in the host network. |
||
volumes: | ||
- /home/dhcp:/data | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
network_mode: "host" | ||
environment: | ||
- TZ=Pacific/Auckland | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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? |
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
.