[net] Add environment variable for MTU

This enables proper function in certain setups where MTU is lower than
the default (1500).

Closes #1

Reported by:	@palaueb
Xnet-DigitalDemocratic-main-patch-41273
Evilham 2022-07-18 19:12:04 +02:00
parent 78b0254ba0
commit 66c2544a71
No known key found for this signature in database
GPG Key ID: AE3EE30D970886BF
3 changed files with 9 additions and 0 deletions

View File

@ -21,3 +21,6 @@ version: '3.7'
networks:
dd_net:
name: dd_net
driver: bridge
driver_opts:
com.docker.network.driver.mtu: ${NETWORK_MTU:-1500}

View File

@ -21,3 +21,6 @@ version: '3.7'
networks:
dd_net:
name: dd_net
driver: bridge
driver_opts:
com.docker.network.driver.mtu: ${NETWORK_MTU:-1500}

View File

@ -195,3 +195,6 @@ POSTGRESQL_IMG=postgres:14.1-alpine3.15
## MINIO
#MINIO_IMG=mino/minio:RELEASE.2022-01-25T19-56-04Z
## Network settings
#NETWORK_MTU=1500