38 lines
680 B
YAML
38 lines
680 B
YAML
services:
|
|
primary:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: primary
|
|
ports:
|
|
- "5300:53/tcp"
|
|
- "5300:53/udp"
|
|
networks:
|
|
dnsnet:
|
|
ipv4_address: 129.18.0.42
|
|
secondary1:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: secondary
|
|
ports:
|
|
- "5301:53/tcp"
|
|
- "5301:53/udp"
|
|
networks:
|
|
dnsnet:
|
|
ipv4_address: 129.18.0.43
|
|
secondary2:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
target: secondary
|
|
ports:
|
|
- "5302:53/tcp"
|
|
- "5302:53/udp"
|
|
networks:
|
|
dnsnet:
|
|
ipv4_address: 129.18.0.45
|
|
networks:
|
|
dnsnet:
|
|
external: true
|