In order to deploy mailu on a swarm, you will first need to initialize it:
In order to deploy Mailu on a swarm, you will first need to initialize it:
The main command will be:
The main command will be:
```bash
```bash
docker swarm init --advertise-addr <IP_ADDR>
docker swarm init --advertise-addr <IP_ADDR>
@ -29,10 +29,10 @@ mzrm9nbdggsfz4sgq6dhs5i6n flying-dutchman Ready Active
```
```
### Volume definition
### Volume definition
For data persistance (the mailu services might be launched/relaunched on any of the swarm nodes), we need to have mailu data stored in a manner accessible by every manager or worker in the swarm.
For data persistance (the Mailu services might be launched/relaunched on any of the swarm nodes), we need to have Mailu data stored in a manner accessible by every manager or worker in the swarm.