Added possibility to restrict internet access

master
Meliurwen 4 years ago
parent 14c866845f
commit 6c54424b28
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 8
      .env.example
  2. 3
      docker-compose.yml

@ -20,7 +20,13 @@ FUNKWHALE_HOSTNAME=
FUNKWHALE_VERSION= FUNKWHALE_VERSION=
# Networks # Networks
NETWORK=webservices # Name of the external network of the reverse proxy
REVERSE_PROXY_NETWORK=webservices
# Restrict internet access to the whole Funkwhale app
# Note: It will be normally reachable from the web (via the reverse-proxy), but
# the containers cannot make external calls on their own, thus no
# federation or anything that may require internet from the server side.
NO_INTERNET_ACC=false
# postgres (optional) # postgres (optional)
DB_IMG= DB_IMG=

@ -111,6 +111,7 @@ networks:
default: default:
internal: true internal: true
internet-access: internet-access:
internal: ${NO_INTERNET_ACC}
main-webservices: main-webservices:
external: external:
name: ${NETWORK} name: ${REVERSE_PROXY_NETWORK}

Loading…
Cancel
Save