fix gitignore, add example machine-specific
6
.gitignore
vendored
|
|
@ -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)
|
||||||
|
|
|
||||||
27
machine-specific/example-machine/env/.env
vendored
Normal 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
|
||||||
BIN
machine-specific/example-machine/images/apple-touch-icon.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
machine-specific/example-machine/images/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
machine-specific/example-machine/images/icon-192.png
Normal file
|
After Width: | Height: | Size: 52 KiB |
BIN
machine-specific/example-machine/images/icon-512.png
Normal file
|
After Width: | Height: | Size: 213 KiB |
BIN
machine-specific/example-machine/images/icon-maskable-192.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
machine-specific/example-machine/images/icon-maskable-512.png
Normal file
|
After Width: | Height: | Size: 124 KiB |
BIN
machine-specific/example-machine/images/logo.png
Normal file
|
After Width: | Height: | Size: 324 KiB |