mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 08:43:10 -07:00
minor makefile and readme adjustments
This commit is contained in:
parent
c58c6e6882
commit
27401f8841
2 changed files with 14 additions and 21 deletions
7
Makefile
7
Makefile
|
|
@ -57,13 +57,10 @@ docker-down:
|
|||
docker compose -f docker-compose.dev.yml down
|
||||
|
||||
docker-up-proton:
|
||||
docker compose -f docker-compose.dev.yml up -d --build protonmail-bridge
|
||||
docker compose -f docker-compose.dev.yml up -d protonmail-bridge
|
||||
|
||||
docker-up-signal:
|
||||
docker compose -f docker-compose.dev.yml up -d --build signal-cli
|
||||
|
||||
docker-up-telegram:
|
||||
docker compose -f docker-compose.dev.yml up -d --build telegram-bot
|
||||
docker compose -f docker-compose.dev.yml up -d signal-cli
|
||||
|
||||
release:
|
||||
@if [ ! -f VERSION ]; then \
|
||||
|
|
|
|||
28
README.md
28
README.md
|
|
@ -23,7 +23,7 @@ curl -L -O https://raw.githubusercontent.com/lone-cloud/prism/master/docker-comp
|
|||
# Download .env.example
|
||||
curl -L -O https://raw.githubusercontent.com/lone-cloud/prism/master/.env.example
|
||||
|
||||
# Configure your API key
|
||||
# Configure your API key (eg. admin password)
|
||||
cp .env.example .env
|
||||
nano .env # Set API_KEY=your-secret-key-here
|
||||
|
||||
|
|
@ -47,11 +47,10 @@ Send notifications through Signal groups instead of WebPush.
|
|||
FEATURE_ENABLE_SIGNAL=true
|
||||
```
|
||||
|
||||
**2. Restart Prism:**
|
||||
**2. Start Prism with Signal:**
|
||||
|
||||
```bash
|
||||
docker compose down
|
||||
docker compose up -d
|
||||
docker compose --profile signal up -d
|
||||
```
|
||||
|
||||
**3. Link your Signal account:**
|
||||
|
|
@ -81,28 +80,21 @@ FEATURE_ENABLE_TELEGRAM=true
|
|||
TELEGRAM_BOT_TOKEN=your-bot-token-here
|
||||
```
|
||||
|
||||
**3. Restart Prism:**
|
||||
|
||||
```bash
|
||||
docker compose down
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
**4. Get your chat ID:**
|
||||
**3. Get your chat ID:**
|
||||
|
||||
- Message [@userinfobot](https://t.me/userinfobot) on Telegram
|
||||
- Copy your Chat ID from the bot's response
|
||||
|
||||
**5. Add chat ID to `.env`:**
|
||||
**4. Add chat ID to `.env`:**
|
||||
|
||||
```bash
|
||||
TELEGRAM_CHAT_ID=123456789
|
||||
```
|
||||
|
||||
**6. Restart Prism:**
|
||||
**5. Start Prism:**
|
||||
|
||||
```bash
|
||||
docker compose down
|
||||
# Telegram runs in the main Prism service (no profile needed)
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
|
|
@ -145,10 +137,14 @@ PROTON_IMAP_USERNAME=username-from-info-command
|
|||
PROTON_IMAP_PASSWORD=password-from-info-command
|
||||
```
|
||||
|
||||
**5. Start with Proton profile:**
|
||||
**5. Start Prism with Proton Mail:**
|
||||
|
||||
```bash
|
||||
# Start only Prism + Proton Mail
|
||||
docker compose --profile proton up -d
|
||||
|
||||
# Or with Signal + Proton Mail
|
||||
docker compose --profile signal --profile proton up -d
|
||||
```
|
||||
|
||||
Prism will now forward Proton Mail notifications to your configured channel (Signal, Telegram, or WebPush).
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue