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:
|
||||
image: quay.io/invidious/invidious-companion:latest
|
||||
restart: unless-stopped
|
||||
# network_mode: "service:gluetun"
|
||||
cap_drop:
|
||||
- ALL
|
||||
read_only: true
|
||||
# cache for youtube library
|
||||
volumes:
|
||||
- companioncache:/var/tmp/youtubei.js:rw
|
||||
- ./config.toml:/app/config/config.toml:ro
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
|
@ -36,11 +35,23 @@ services:
|
|||
- "203.0.113.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:
|
||||
companioncache:
|
||||
acme-data:
|
||||
ssl-certs:
|
||||
|
||||
# Comment all that if you don't use IPv6
|
||||
networks:
|
||||
default:
|
||||
enable_ipv6: true
|
||||
|
|
|
|||
Reference in a new issue