Go to file
Stixx 9a94f6ea33
All checks were successful
Release to Gitea Container Registry / build_and_push (push) Successful in 11s
chore: docker tag
2024-11-06 17:52:53 +01:00
.gitea/workflows chore: docker tag 2024-11-06 17:52:53 +01:00
.idea chore: config in start.sh 2024-11-06 17:07:58 +01:00
.gitignore chore: config in start.sh 2024-11-06 17:07:58 +01:00
chief-config.toml fix: removing blossom source code from the repo 2024-11-05 12:04:03 +01:00
chief.json fix: removing blossom source code from the repo 2024-11-05 12:04:03 +01:00
CloudronManifest.json feat: Cloudron packing 2024-11-04 18:26:14 +01:00
config.example.yml init 2024-11-04 16:09:32 +01:00
DESCRIPTION.md feat: Cloudron packing 2024-11-04 18:26:14 +01:00
Dockerfile chore: docker tag 2024-11-06 17:52:53 +01:00
Dockerfile.backup fix: removing blossom source code from the repo 2024-11-05 12:04:03 +01:00
LICENSE.txt init 2024-11-04 16:09:32 +01:00
logo.png feat: Cloudron packing 2024-11-04 18:26:14 +01:00
POSTINSTALL.md feat: Cloudron packing 2024-11-04 18:26:14 +01:00
README.md chore: spacing in readme 2024-11-05 16:01:56 +00:00
start.sh chore: docker tag 2024-11-06 17:52:53 +01:00

🌸 Blossom-server

Blossom Server packaged to run as a cloudron app. Supports policies through the /app/data/config.yaml file.

The app is not yet in the Cloudron App Store, so for now you have to use the Cloudron CLI to install.

Prerequisites

Install the Cloudron CLI - npm install -g cloudron

Installation

# Login with your cloudron credentials
cloudron login your.instance.com

# Clone the project and change into it
git clone https://git.nostrdev.com/stuff/blossom-cloudron
cd blossom-cloudron

# Install latest version
cloudron install --image git.nostrdev.com/stuff/blossom-cloudron:latest -l blossom.YOURDOMAIN.com

To update, the command would be:

cloudron update --app blossom.YOURDOMAIN.com --image git.nostrdev.com/stuff/blossom-cloudron:latest

Configuration

The config file is under /app/data/config.yml

If you are using Blossom for a small subset of npubs, and don't need the discoverability feature, you could make the following changes:

discovery:
  # find files by querying nostr relays
  nostr:
    enabled: false

and

  rules:
    # mime type of blob
    - type: "*"
      expiration: 2 years
      pubkeys:
        - "xxxnostrHEXkeyxxx" # comment

and

upload:
  # only check rules that include "pubkeys"
  requirePubkeyInRule: true