Some checks failed
Publish nx-webmail Image (Gitea) / publish (push) Has been cancelled
Standalone Webmail (Docker-ready)
Local setup
- Install dependencies: npm install
- Run dev mode (Vite + API): npm run dev
- Open: http://localhost:5173
Docker (standalone)
- Copy env file: cp .env.example .env
- Build + run: docker compose up --build -d
- Open: http://localhost:3001
Publish image for Umbrel
Umbrel installation is most reliable when your app uses a prebuilt image from a registry.
- Recommended: use the GitHub Action
.github/workflows/publish-nx-webmail-image.yml.- For Gitea use
.gitea/workflows/publish-nx-webmail-image.yml. - Required Gitea secrets:
GITEA_USERNAME,GITEA_TOKEN.
- For Gitea use
- The workflow reads
versionfromnx-webmail/umbrel-app.ymland publishes:git.weektab.org/nexus/nx-webmail:<version>git.weektab.org/nexus/nx-webmail:latest
- The workflow then pins
nx-webmail/docker-compose.ymltotag@sha256:digestautomatically. - Manual fallback: docker buildx build --platform linux/amd64,linux/arm64 -t git.weektab.org/nexus/nx-webmail:1.0.8 --push .
Umbrel app packaging
This repository is prepared for Umbrel app-store usage.
- Keep this app in a folder named exactly like the app ID:
nx-webmail. - Keep these files in that folder:
docker-compose.ymlumbrel-app.ymlDockerfileexports.sh
- Ensure your store root contains
umbrel-app-store.yml. - Push the app-store repo to a git host reachable from Umbrel.
Install from Umbrel UI
- Open App Store in Umbrel.
- Use the menu to add a Community App Store.
- Paste your repository URL.
- Open your store and install
Webmail.
Notes:
- Umbrel uses the
app_proxyservice indocker-compose.yml. - Internal app port is
3001. serveruses a prebuilt registry image (git.weektab.org/nexus/nx-webmail:1.0.8).- If your store prefix changes, update
idinumbrel-app.ymlandAPP_HOSTindocker-compose.yml.
Notes
- Frontend calls API on
/api/webmail/*. - IMAP/SMTP credentials are provided by user login in UI.