fix gitignore, add example machine-specific

This commit is contained in:
padreug 2025-11-01 21:47:22 +01:00
parent 1b1820fc09
commit 1e55c8fd88
9 changed files with 27 additions and 6 deletions

6
.gitignore vendored
View file

@ -2,7 +2,6 @@ build/
node_modules/ node_modules/
dist/ dist/
result result
machine-specific
web-app web-app
lnbits lnbits
lnbits-extensions lnbits-extensions
@ -15,11 +14,6 @@ krops.nix
# Copy example-build-local.nix to build-local.nix and customize # Copy example-build-local.nix to build-local.nix and customize
build-local.nix build-local.nix
# Machine-specific configurations (user creates these)
# Keep example-machine as a template
config/machines/*
!config/machines/example-machine/
# Secrets - only ignore unencrypted secrets # Secrets - only ignore unencrypted secrets
# Encrypted .age files are SAFE to commit # Encrypted .age files are SAFE to commit
secrets/**/!(*.age) secrets/**/!(*.age)

View file

@ -0,0 +1,27 @@
# App Branding
VITE_APP_NAME=YourApp
VITE_PICTRS_BASE_URL=https://img.yourdomain.com
# Lightning Address Domain (optional)
# Override the domain used for Lightning Addresses
# If not set, domain will be extracted from VITE_LNBITS_BASE_URL
# Example: mydomain.com will show addresses as username@mydomain.com
VITE_LIGHTNING_DOMAIN=
VITE_NOSTR_RELAYS=["wss://lnbits.yourdomain.com/nostrrelay/test1"]
VITE_LNBITS_BASE_URL=https://lnbits.yourdomain.com
# Invoice/Read Key below
VITE_API_KEY=
VITE_ADMIN_PUBKEYS=["<your-pubkey"]
# Push Notifications
VITE_VAPID_PUBLIC_KEY=
VITE_PUSH_NOTIFICATIONS_ENABLED=true
# Market Configuration
VITE_MARKET_NADDR=
VITE_LIGHTNING_ENABLED=true
VITE_MARKET_DEFAULT_CURRENCY=sat

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB