From addbdc80eb4bc6306c39ba11d5ad726d35e2534b Mon Sep 17 00:00:00 2001 From: Florent Guiotte Date: Mon, 11 Jul 2022 12:19:25 +0200 Subject: [PATCH] Set restart always for core sercices and dns to rtorrent --- bind9/named.conf | 1 + docker-compose.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bind9/named.conf b/bind9/named.conf index a636d67..08c7659 100644 --- a/bind9/named.conf +++ b/bind9/named.conf @@ -1,6 +1,7 @@ acl goodclients { localhost; 192.168.1.0/24; + 172.0.0.0/8; }; options { diff --git a/docker-compose.yml b/docker-compose.yml index 60c569b..89da8ac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,7 @@ services: bind9: image: ubuntu/bind9:9.18-22.04_beta container_name: bind9 + restart: always volumes: - ./bind9/named.conf:/etc/bind/named.conf - ./bind9/local.db:/etc/bind/local.db @@ -17,6 +18,7 @@ services: swag: image: lscr.io/linuxserver/swag container_name: swag + restart: always cap_add: - NET_ADMIN environment: @@ -37,6 +39,7 @@ services: money: image: ihatemoney/ihatemoney container_name: money + restart: always volumes: - money-data:/database environment: @@ -62,6 +65,7 @@ services: image: jesec/rtorrent container_name: rtorrent user: 1000:100 + dns: 1.1.1.1 restart: unless-stopped command: -o network.port_range.set=6881-6881,system.daemon.set=true environment: