Webmail changes
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# Standalone Webmail (Docker-ready)
|
# Standalone Webmail (Docker-ready)
|
||||||
|
|
||||||
## Local setup
|
## Local setup
|
||||||
|
|
||||||
@@ -22,17 +22,26 @@
|
|||||||
|
|
||||||
This repository is prepared for Umbrel app-store usage.
|
This repository is prepared for Umbrel app-store usage.
|
||||||
|
|
||||||
1. Put this project into your app folder (folder name must match `id` in `umbrel-app.yml`, currently `nx-webmail`).
|
1. Keep this app in a folder named exactly like the app ID: `nx-webmail`.
|
||||||
2. Keep these files in that folder:
|
2. Keep these files in that folder:
|
||||||
- `docker-compose.yml`
|
- `docker-compose.yml`
|
||||||
- `umbrel-app.yml`
|
- `umbrel-app.yml`
|
||||||
- `Dockerfile`
|
- `Dockerfile`
|
||||||
3. Add the app folder to your Umbrel community app store repo and push.
|
- `exports.sh`
|
||||||
|
3. Ensure your store root contains `umbrel-app-store.yml`.
|
||||||
|
4. Push the app-store repo to a git host reachable from Umbrel.
|
||||||
|
|
||||||
|
## Install from Umbrel UI
|
||||||
|
|
||||||
|
1. Open App Store in Umbrel.
|
||||||
|
2. Use the menu to add a Community App Store.
|
||||||
|
3. Paste your repository URL.
|
||||||
|
4. Open your store and install `Webmail`.
|
||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
- Umbrel uses the `app_proxy` service in `docker-compose.yml`.
|
- Umbrel uses the `app_proxy` service in `docker-compose.yml`.
|
||||||
- Internal app port is `3001`.
|
- Internal app port is `3001`.
|
||||||
- If your store prefix is not `nx`, change `id` in `umbrel-app.yml` and update `APP_HOST` accordingly.
|
- If your store prefix changes, update `id` in `umbrel-app.yml` and `APP_HOST` in `docker-compose.yml`.
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app_proxy:
|
app_proxy:
|
||||||
@@ -7,10 +7,13 @@ services:
|
|||||||
APP_PORT: 3001
|
APP_PORT: 3001
|
||||||
|
|
||||||
server:
|
server:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
image: nx-webmail:1.0.0
|
image: nx-webmail:1.0.0
|
||||||
init: true
|
init: true
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
|
stop_grace_period: 1m
|
||||||
environment:
|
environment:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
PORT: 3001
|
PORT: 3001
|
||||||
|
|||||||
2
nx-webmail/exports.sh
Normal file
2
nx-webmail/exports.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# No dynamic env exports are required for this app.
|
||||||
Reference in New Issue
Block a user