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 {
|
acl goodclients {
|
||||||
localhost;
|
localhost;
|
||||||
192.168.1.0/24;
|
192.168.1.0/24;
|
||||||
|
172.0.0.0/8;
|
||||||
};
|
};
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|||||||
@ -5,6 +5,7 @@ services:
|
|||||||
bind9:
|
bind9:
|
||||||
image: ubuntu/bind9:9.18-22.04_beta
|
image: ubuntu/bind9:9.18-22.04_beta
|
||||||
container_name: bind9
|
container_name: bind9
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./bind9/named.conf:/etc/bind/named.conf
|
- ./bind9/named.conf:/etc/bind/named.conf
|
||||||
- ./bind9/local.db:/etc/bind/local.db
|
- ./bind9/local.db:/etc/bind/local.db
|
||||||
@ -17,6 +18,7 @@ services:
|
|||||||
swag:
|
swag:
|
||||||
image: lscr.io/linuxserver/swag
|
image: lscr.io/linuxserver/swag
|
||||||
container_name: swag
|
container_name: swag
|
||||||
|
restart: always
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
environment:
|
environment:
|
||||||
@ -37,6 +39,7 @@ services:
|
|||||||
money:
|
money:
|
||||||
image: ihatemoney/ihatemoney
|
image: ihatemoney/ihatemoney
|
||||||
container_name: money
|
container_name: money
|
||||||
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- money-data:/database
|
- money-data:/database
|
||||||
environment:
|
environment:
|
||||||
@ -62,6 +65,7 @@ services:
|
|||||||
image: jesec/rtorrent
|
image: jesec/rtorrent
|
||||||
container_name: rtorrent
|
container_name: rtorrent
|
||||||
user: 1000:100
|
user: 1000:100
|
||||||
|
dns: 1.1.1.1
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: -o network.port_range.set=6881-6881,system.daemon.set=true
|
command: -o network.port_range.set=6881-6881,system.daemon.set=true
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user