Now containerized and DNS'd

This commit is contained in:
2022-10-16 17:36:52 +03:00
parent 940a77980d
commit eac725d86f
2 changed files with 44 additions and 32 deletions

View File

@@ -3,16 +3,28 @@ services:
adguardhome:
image: adguard/adguardhome
container_name: adguard
# ports:
# - 53:53/tcp
# - 53:53/udp
# - 784:784/udp
# - 853:853/tcp
# - 3023:3023/tcp
# - 2323:80/tcp
# - 4242:443/tcp
ports:
- 53:53/tcp
- 53:53/udp
- 784:784/udp
- 853:853/tcp
- 3023:3023/tcp
- 2323:80/tcp
- 4242:443/tcp
volumes:
- ./data:/opt/adguardhome/work
- ./config:/opt/adguardhome/conf
restart: unless-stopped
network_mode: host
networks:
network:
ipv4_address: "150.201.34.99"
dns: 150.201.34.98
networks:
network:
name: dns_network
driver: bridge
ipam:
driver: default
config:
- subnet: "150.201.34.0/24"
gateway: "150.201.34.1"