|
|
@ -75,10 +75,9 @@ Instead, we will use the following work-around:
|
|
|
|
``` echo "$(docker-compose -f /mnt/docker/apps/mailu/docker-compose.yml config 2>/dev/null)" | docker stack deploy -c- mailu ```
|
|
|
|
``` echo "$(docker-compose -f /mnt/docker/apps/mailu/docker-compose.yml config 2>/dev/null)" | docker stack deploy -c- mailu ```
|
|
|
|
|
|
|
|
|
|
|
|
We need also to:
|
|
|
|
We need also to:
|
|
|
|
- change the way we define the volumes (nfs share in our case)
|
|
|
|
|
|
|
|
- add a deploy section for every service
|
|
|
|
- add a deploy section for every service
|
|
|
|
- the way the ports are defined for the front service
|
|
|
|
- modify the way the ports are defined for the front service
|
|
|
|
- add the POD_ADDRESS_RANGE definition imap, smtp and antispam services
|
|
|
|
- add the POD_ADDRESS_RANGE definition for imap, smtp and antispam services
|
|
|
|
|
|
|
|
|
|
|
|
## Docker compose
|
|
|
|
## Docker compose
|
|
|
|
An example of docker-compose-stack.yml file is available here:
|
|
|
|
An example of docker-compose-stack.yml file is available here:
|
|
|
|