Compare commits
3 Commits
536f5d60ea
...
46a0154871
Author | SHA1 | Date | |
---|---|---|---|
46a0154871 | |||
25368c8408 | |||
c37ff438d8 |
3
config/dnsmasq/.gitignore
vendored
Normal file
3
config/dnsmasq/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!.example
|
@ -6,4 +6,4 @@ no-resolv
|
|||||||
server=8.8.4.4
|
server=8.8.4.4
|
||||||
server=8.8.8.8
|
server=8.8.8.8
|
||||||
#explicitly define host-ip mappings
|
#explicitly define host-ip mappings
|
||||||
address=/homerealestate.cz/144.76.56.24
|
address=/domain/ip
|
@ -59,6 +59,14 @@ services:
|
|||||||
extends:
|
extends:
|
||||||
file: docker-compose.base.yml
|
file: docker-compose.base.yml
|
||||||
service: inbucket
|
service: inbucket
|
||||||
|
dnsmasq:
|
||||||
|
restart: always
|
||||||
|
build:
|
||||||
|
context: ./dockerfiles/dnsmasq
|
||||||
|
volumes:
|
||||||
|
- ./config/dnsmasq/dnsmasq.conf:/etc/dnsmasq.conf
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN # @see https://man7.org/linux/man-pages/man7/capabilities.7.html
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database:
|
database:
|
||||||
|
9
dockerfiles/dnsmasq/Dockerfile
Normal file
9
dockerfiles/dnsmasq/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
# @see https://github.com/mcmar/docker-dnsmasq
|
||||||
|
|
||||||
|
RUN apk --no-cache add dnsmasq
|
||||||
|
|
||||||
|
EXPOSE 53/tcp 53/udp 67/udp
|
||||||
|
|
||||||
|
CMD ["dnsmasq", "-k"]
|
Reference in New Issue
Block a user