Set restart always for core sercices and dns to rtorrent
This commit is contained in:
parent
b25b04de96
commit
addbdc80eb
@ -1,6 +1,7 @@
|
||||
acl goodclients {
|
||||
localhost;
|
||||
192.168.1.0/24;
|
||||
172.0.0.0/8;
|
||||
};
|
||||
|
||||
options {
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user