Update firststeps-disable_ipv6.md
Dieser Commit ist enthalten in:
Ursprung
d2f19b82f4
Commit
82e46cbe44
1 geänderte Dateien mit 7 neuen und 1 gelöschten Zeilen
|
@ -7,7 +7,9 @@ Instead of editing docker-compose.yml directly, it is preferrable to create an o
|
||||||
and implement your changes to the service there. Unfortunately, this right now only seems to work for services, not for network settings.
|
and implement your changes to the service there. Unfortunately, this right now only seems to work for services, not for network settings.
|
||||||
|
|
||||||
To disable IPv6 on the mailcow network, open docker-compose.yml with your favourite text editor and search for the network section (it's near the bottom of the file).
|
To disable IPv6 on the mailcow network, open docker-compose.yml with your favourite text editor and search for the network section (it's near the bottom of the file).
|
||||||
Change ```enable_ipv6: true``` to ```enable_ipv6: false```:
|
|
||||||
|
Change `enable_ipv6: true` to `enable_ipv6: false`:
|
||||||
|
|
||||||
```
|
```
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
@ -25,10 +27,12 @@ networks:
|
||||||
To disable the ipv6nat-mailcow container as well, go to your mailcow directory and create a new file called "docker-compose.override.yml":
|
To disable the ipv6nat-mailcow container as well, go to your mailcow directory and create a new file called "docker-compose.override.yml":
|
||||||
|
|
||||||
**NOTE:** If you already have an override file, of course don't recreate it, but merge the lines below into your existing one accordingly!
|
**NOTE:** If you already have an override file, of course don't recreate it, but merge the lines below into your existing one accordingly!
|
||||||
|
|
||||||
```
|
```
|
||||||
# cd /opt/mailcow-dockerized
|
# cd /opt/mailcow-dockerized
|
||||||
# touch docker-compose.override.yml
|
# touch docker-compose.override.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
Open the file in your favourite text editor and fill in the following:
|
Open the file in your favourite text editor and fill in the following:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -39,7 +43,9 @@ services:
|
||||||
restart: "no"
|
restart: "no"
|
||||||
entrypoint: ["echo", "ipv6nat disabled in compose.override.yml"]
|
entrypoint: ["echo", "ipv6nat disabled in compose.override.yml"]
|
||||||
```
|
```
|
||||||
|
|
||||||
For these changes to be effective, you need to fully stop and then restart the stack, so containers and networks are recreated:
|
For these changes to be effective, you need to fully stop and then restart the stack, so containers and networks are recreated:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker-compose down
|
docker-compose down
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
|
|
Laden …
In neuem Issue referenzieren