Update docker-compose.yml
This commit is contained in:
parent
05a2f21545
commit
0d4b380cef
1 changed files with 14 additions and 3 deletions
|
|
@ -2,12 +2,11 @@ services:
|
||||||
companion:
|
companion:
|
||||||
image: quay.io/invidious/invidious-companion:latest
|
image: quay.io/invidious/invidious-companion:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
# network_mode: "service:gluetun"
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
read_only: true
|
read_only: true
|
||||||
# cache for youtube library
|
|
||||||
volumes:
|
volumes:
|
||||||
- companioncache:/var/tmp/youtubei.js:rw
|
|
||||||
- ./config.toml:/app/config/config.toml:ro
|
- ./config.toml:/app/config/config.toml:ro
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
@ -36,11 +35,23 @@ services:
|
||||||
- "203.0.113.1:443:443/udp"
|
- "203.0.113.1:443:443/udp"
|
||||||
- "[2001:db8::1]:443:443/udp"
|
- "[2001:db8::1]:443:443/udp"
|
||||||
|
|
||||||
|
# gluetun:
|
||||||
|
# image: qmcgaw/gluetun
|
||||||
|
# cap_add:
|
||||||
|
# - NET_ADMIN
|
||||||
|
# devices:
|
||||||
|
# - /dev/net/tun:/dev/net/tun
|
||||||
|
# volumes:
|
||||||
|
# - ./wg0.conf:/gluetun/wireguard/wg0.conf:ro
|
||||||
|
# environment:
|
||||||
|
# - VPN_SERVICE_PROVIDER=custom
|
||||||
|
# - VPN_TYPE=wireguard
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
companioncache:
|
|
||||||
acme-data:
|
acme-data:
|
||||||
ssl-certs:
|
ssl-certs:
|
||||||
|
|
||||||
|
# Comment all that if you don't use IPv6
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
enable_ipv6: true
|
enable_ipv6: true
|
||||||
|
|
|
||||||
Reference in a new issue