mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
Apply .env.example and Dockerfile changes from reserved-balance-and-fixes branch
This commit is contained in:
+8
-8
@@ -1,5 +1,5 @@
|
|||||||
NAME = "Your Routstr Proxy Name"
|
# NAME = "Your Routstr Proxy Name"
|
||||||
DESCRIPTION = "A short Description"
|
# DESCRIPTION = "A short Description"
|
||||||
|
|
||||||
# Any openai-compatible api endpoint
|
# Any openai-compatible api endpoint
|
||||||
UPSTREAM_BASE_URL="https://api.openai.com/v1"
|
UPSTREAM_BASE_URL="https://api.openai.com/v1"
|
||||||
@@ -7,14 +7,14 @@ UPSTREAM_API_KEY="sk-21212121212121212121212121212121"
|
|||||||
# UPSTREAM_PROVIDER_FEE=1 # 1 = no fees, 1.05 = 5% fees
|
# UPSTREAM_PROVIDER_FEE=1 # 1 = no fees, 1.05 = 5% fees
|
||||||
|
|
||||||
# Lightning address used to receive funds
|
# Lightning address used to receive funds
|
||||||
RECEIVE_LN_ADDRESS="shroominic@walletofsatoshi.com"
|
|
||||||
|
|
||||||
# When your cashu balance reaches this number of sats, send the funds to RECEIVE_LN_ADDRESS.
|
# When your cashu balance reaches this number of sats, send the funds to RECEIVE_LN_ADDRESS.
|
||||||
MINIMUM_PAYOUT = "100"
|
# RECEIVE_LN_ADDRESS="user@minibits.cash"
|
||||||
|
#MINIMUM_PAYOUT = "100"
|
||||||
|
|
||||||
# If set to true, pricing is loaded from the file specified by MODELS_PATH
|
# If set to true, pricing is loaded from the file specified by MODELS_PATH
|
||||||
# Defaults to "models.json" and falls back to "models.example.json" if missing
|
# Defaults to "models.json" and falls back to "models.example.json" if missing
|
||||||
MODEL_BASED_PRICING = "true"
|
# MODEL_BASED_PRICING = "true"
|
||||||
# MODELS_PATH="models.json"
|
# MODELS_PATH="models.json"
|
||||||
|
|
||||||
# Costs in Sats, if MODEL_BASED_PRICING is set to false
|
# Costs in Sats, if MODEL_BASED_PRICING is set to false
|
||||||
@@ -27,13 +27,13 @@ MODEL_BASED_PRICING = "true"
|
|||||||
# ADMIN_PASSWORD=""
|
# ADMIN_PASSWORD=""
|
||||||
|
|
||||||
# Public Endpoint
|
# Public Endpoint
|
||||||
HTTP_URL="https://your.domain.com"
|
# HTTP_URL="https://your.domain.com"
|
||||||
|
|
||||||
# Tor Endpoint (copy from docker logs)
|
# Tor Endpoint (copy from docker logs)
|
||||||
# ONION_URL=".onion"
|
# ONION_URL=".onion"
|
||||||
|
|
||||||
RELAYS="wss://relay.routstr.com,wss://relay.nostr.band"
|
# RELAYS="wss://relay.routstr.com,wss://relay.nostr.band"
|
||||||
CASHU_MINTS="https://mint.minibits.cash/Bitcoin,https://mint.cubabitcoin.org"
|
# CASHU_MINTS="https://mint.minibits.cash/Bitcoin,https://mint.cubabitcoin.org"
|
||||||
|
|
||||||
# Development
|
# Development
|
||||||
# DEBUG=TRUE
|
# DEBUG=TRUE
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ RUN apk add --no-cache \
|
|||||||
RUN apk add git
|
RUN apk add git
|
||||||
|
|
||||||
COPY uv.lock pyproject.toml ./
|
COPY uv.lock pyproject.toml ./
|
||||||
COPY routstr ./routstr
|
RUN mkdir -p /routstr
|
||||||
|
|
||||||
RUN uv add git+https://github.com/saschanaz/secp256k1-py.git#branch=upgrade060
|
RUN uv add git+https://github.com/saschanaz/secp256k1-py.git#branch=upgrade060
|
||||||
# RUN uv sync
|
# RUN uv sync
|
||||||
|
|||||||
Reference in New Issue
Block a user