If you're using Compose Manager Plus, deploying MailArchiver is very straightforward. You can install Compose Manager Plus from Community Apps or follow the support thread here: https://forums.unraid.net/topic/197334-plugin-compose-manager-plus Once installed: Create a New Stack. Give it a name (for example, mailarchiver). Use the compose file below. Click Compose Up. That's it. Compose Manager Plus will create both the MailArchiver container and its PostgreSQL database in a single step, making it much easier than creating each container manually through the Docker template UI. services:
mailarchive-app:
image: s1t5/mailarchiver:latest
restart: unless-stopped
environment:
# Database Connection
ConnectionStrings__DefaultConnection: "Host=postgres;Database=MailArchiver;Username=mailuser;Password=masterkey;"
# Web Login
Authentication__Username: admin
Authentication__Password: secure123!
# Timezone
TimeZone__DisplayTimeZoneId: "Etc/UTC"
ports:
- "5000:5000"
volumes:
- /mnt/user/appdata/mailarchiver/keys:/app/DataProtection-Keys
depends_on:
postgres:
condition: service_healthy
networks:
- mailarchive
postgres:
image: postgres:17-alpine
restart: unless-stopped
environment:
POSTGRES_DB: MailArchiver
POSTGRES_USER: mailuser
POSTGRES_PASSWORD: masterkey
volumes:
- /mnt/user/appdata/mailarchiver/postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U mailuser -d MailArchiver"]
interval: 10s
timeout: 5s
retries: 5
start_period: 20s
networks:
- mailarchive
networks:
mailarchive:
driver: bridge
After the stack starts, open: http://<your-unraid-ip>:5000 Default credentials: Username: admin Password: secure123! You should change both the database password and the admin password before exposing the application outside your network.