Hmm...ich habe heute zum ersten Mal Docker + Portainer+ Docker Compose installiert. Kann ich nun die folgende docker-compose.yml anlegen?
version: "3"
services:
dns-server:
container_name: dns-server
hostname: dns-server
image: technitium/dns-server:latest
ports:
- "5380:5380/tcp" #DNS web console
- "127.0.0.1:53:53/udp" #DNS service
- "127.0.0.1:53:53/tcp" #DNS service
- "<server-ip-address>:53:53/udp" #DNS service
- "<server-ip-address>:53:53/tcp" #DNS service
environment:
- DNS_SERVER_DOMAIN=dns-server #The primary domain name used by this DNS Server to identify itself.
volumes:
- config:/etc/dns
restart: unless-stopped
volumes:
config:
Als Server-IP wird vermutlich die IP-Adresse meines LXC Containers eingetragen oder?
version: "3"
services:
dns-server:
container_name: dns-server
hostname: dns-server
image: technitium/dns-server:latest
ports:
- "5380:5380/tcp" #DNS web console
- "127.0.0.1:53:53/udp" #DNS service
- "127.0.0.1:53:53/tcp" #DNS service
- "<server-ip-address>:53:53/udp" #DNS service
- "<server-ip-address>:53:53/tcp" #DNS service
environment:
- DNS_SERVER_DOMAIN=dns-server #The primary domain name used by this DNS Server to identify itself.
volumes:
- config:/etc/dns
restart: unless-stopped
volumes:
config:
Als Server-IP wird vermutlich die IP-Adresse meines LXC Containers eingetragen oder?