Update to latest Mailu
This commit is contained in:
parent
e471ec6fd8
commit
21868cf5e9
19
README.md
19
README.md
@ -25,11 +25,28 @@ host.
|
|||||||
4. `abra app config YOURAPPDOMAIN` - be sure to change `$WEB_DOMAIN` to something that resolves to
|
4. `abra app config YOURAPPDOMAIN` - be sure to change `$WEB_DOMAIN` to something that resolves to
|
||||||
your Docker swarm box
|
your Docker swarm box
|
||||||
5. `abra app deploy YOURAPPDOMAIN`
|
5. `abra app deploy YOURAPPDOMAIN`
|
||||||
9. Create initial user:
|
6. Create initial user:
|
||||||
```
|
```
|
||||||
abra app run YOURDOMAIN admin flask mailu admin admin YOURDOMAIN YOURPASSWORD
|
abra app run YOURDOMAIN admin flask mailu admin admin YOURDOMAIN YOURPASSWORD
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Upgrading the recipe
|
||||||
|
|
||||||
|
**NOTE** This section is only intended for [recipe maintainers][maintainers]
|
||||||
|
|
||||||
|
Minor/patch updates usually work OK with `abra recipe upgrade` and friends.
|
||||||
|
|
||||||
|
For major updates:
|
||||||
|
|
||||||
|
1. Go to https://setup.mailu.io/ and generate a new config
|
||||||
|
2. Download the new config and compare it to `compose.yml`. Pay attention to:
|
||||||
|
- New / removed services
|
||||||
|
- Added/removed config options
|
||||||
|
- Changes to networking
|
||||||
|
3. Test upgrading from the previous version to the new version
|
||||||
|
4. `abra recipe sync` / `abra recipe release` as normal
|
||||||
|
|
||||||
[Mailu]: https://mailu.io/
|
[Mailu]: https://mailu.io/
|
||||||
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
[abra]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||||
[compose-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
[compose-traefik]: https://git.autonomic.zone/coop-cloud/traefik
|
||||||
|
[maintainers]: https://docs.coopcloud.tech/maintainers/
|
||||||
|
17
compose.yml
17
compose.yml
@ -54,7 +54,7 @@ x-environment:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: ghcr.io/mailu/nginx:2.0.41
|
image: ghcr.io/mailu/nginx:2024.06.27
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
networks:
|
networks:
|
||||||
@ -98,12 +98,12 @@ services:
|
|||||||
- "coop-cloud.${STACK_NAME}.version=1.1.1+2.0.41"
|
- "coop-cloud.${STACK_NAME}.version=1.1.1+2.0.41"
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: redis:7.2.4-alpine
|
image: redis:7.4.1-alpine
|
||||||
volumes:
|
volumes:
|
||||||
- "redis:/data"
|
- "redis:/data"
|
||||||
|
|
||||||
admin:
|
admin:
|
||||||
image: ghcr.io/mailu/admin:2.0.41
|
image: ghcr.io/mailu/admin:2024.06.27
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
@ -116,7 +116,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
|
|
||||||
imap:
|
imap:
|
||||||
image: ghcr.io/mailu/dovecot:2.0.41
|
image: ghcr.io/mailu/dovecot:2024.06.27
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
@ -130,7 +130,7 @@ services:
|
|||||||
- default
|
- default
|
||||||
|
|
||||||
smtp:
|
smtp:
|
||||||
image: ghcr.io/mailu/postfix:2.0.41
|
image: ghcr.io/mailu/postfix:2024.06.27
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
@ -142,7 +142,7 @@ services:
|
|||||||
- app
|
- app
|
||||||
|
|
||||||
antispam:
|
antispam:
|
||||||
image: ghcr.io/mailu/rspamd:2.0.41
|
image: ghcr.io/mailu/rspamd:2024.06.27
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
secrets:
|
secrets:
|
||||||
- secret_key
|
- secret_key
|
||||||
@ -153,7 +153,8 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
webmail:
|
webmail:
|
||||||
image: ghcr.io/mailu/webmail:2.0.41
|
image: ghcr.io/mailu/webmail:2024.06.27
|
||||||
|
# entrypoint: "tail -f /dev/null"
|
||||||
environment: *default-env
|
environment: *default-env
|
||||||
networks:
|
networks:
|
||||||
- default
|
- default
|
||||||
@ -167,7 +168,7 @@ services:
|
|||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
certdumper:
|
certdumper:
|
||||||
image: ldez/traefik-certs-dumper:v2.8.3
|
image: ldez/traefik-certs-dumper:v2.9.3
|
||||||
entrypoint: sh -c '
|
entrypoint: sh -c '
|
||||||
apk add jq
|
apk add jq
|
||||||
; while ! [ -e /traefik/${ACME_JSON} ]
|
; while ! [ -e /traefik/${ACME_JSON} ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user