mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 06:51:04 +01:00
41 lines
863 B
Markdown
41 lines
863 B
Markdown
# role docker-mailu
|
|
|
|
## setup
|
|
|
|
### volumes
|
|
To delete all volumes execute:
|
|
|
|
```bash
|
|
docker volume rm $(docker volume ls -q | grep mailu_)
|
|
```
|
|
Be careful!
|
|
|
|
### ports
|
|
Keep in mind to change the conflicting ports manual.
|
|
Execute
|
|
|
|
```bash
|
|
netstat -tulpn
|
|
```
|
|
|
|
to verify that there aren't port conflicts
|
|
|
|
### admin account
|
|
|
|
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
|
|
```
|
|
|
|
### Up
|
|
|
|
```bash
|
|
docker-compose -p mailu up -d
|
|
```
|
|
|
|
## See
|
|
- https://gist.github.com/marienfressinaud/f284a59b18aad395eb0de2d22836ae6b
|
|
- https://mailu.io/1.7/compose/setup.html
|
|
- https://mailu.io/master/faq.html#i-want-to-integrate-nextcloud-15-and-newer-with-mailu
|