2020-12-27 13:22:47 +01:00
# role docker-mailu
2020-12-27 19:41:35 +01:00
## setup
### ports
2020-12-27 13:22:47 +01:00
Keep in mind to change the conflicting ports manual.
Execute
```bash
netstat -tulpn
```
2020-12-27 16:16:12 +01:00
2020-12-27 13:22:47 +01:00
to verify that there aren't port conflicts
2020-12-27 19:41:35 +01:00
### admin account
2020-12-27 16:16:12 +01:00
Before you can use Mailu, you must create the primary administrator user account. This should be admin@{{hostname}}. Use the following command, changing PASSWORD to your liking:
```bash
docker-compose -p mailu exec admin flask mailu admin admin {{hostname}} PASSWORD
```
2020-12-27 19:41:35 +01:00
### Up
```bash
docker-compose -p mailu up -d
```
2020-12-27 13:22:47 +01:00
## See
- https://gist.github.com/marienfressinaud/f284a59b18aad395eb0de2d22836ae6b
- https://mailu.io/1.7/compose/setup.html
2020-12-27 19:41:35 +01:00
- https://mailu.io/master/faq.html#i-want-to-integrate-nextcloud-15-and-newer-with-mailu