Files
lune/compose.yaml
Adnan Zahir 0148f98cfe Hub: LUNE_VAULT_CREATION=anyone lets every member create vaults
By default only the team owner and people who manage a vault can create
vaults, as before. A hub run with LUNE_VAULT_CREATION=anyone lets any
active member create one (and upload one); the creator is Manage on that
vault only. Sharing is unchanged: inviting or granting still needs Manage
on the vault being shared, so nobody can connect others to a vault they
do not manage.

An unknown value stops the hub at startup, before any data is touched.
All three places that report or enforce the rule (me, canvas, create_vault)
read the same setting. No client change is needed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-17 12:49:40 +07:00

19 lines
573 B
YAML

services:
hub:
build: .
restart: unless-stopped
ports:
- "8080:8080"
environment:
# The address people and devices use to reach the hub (behind your TLS proxy).
LUNE_HUB_URL: https://hub.example.com
# Name of the team owner; their one-time join link is printed in the log on first start.
LUNE_OWNER_NAME: Sen
# Who may create vaults: managers (the default: the owner and anyone who manages a vault) or anyone (every member).
# LUNE_VAULT_CREATION: anyone
volumes:
- hub-data:/data
volumes:
hub-data: