add .env.example, additional env var (#10)
This commit is contained in:
parent
fabdcaeb3c
commit
8fcce45480
2 changed files with 5 additions and 0 deletions
4
.env.example
Normal file
4
.env.example
Normal file
|
@ -0,0 +1,4 @@
|
|||
FEEDGEN_PORT=3000
|
||||
FEEDGEN_SQLITE_LOCATION=":memory:"
|
||||
FEEDGEN_SUBSCRIPTION_ENDPOINT="wss://bsky.social"
|
||||
FEEDGEN_SERVICE_DID="did:example:test"
|
|
@ -7,6 +7,7 @@ const run = async () => {
|
|||
port: maybeInt(process.env.FEEDGEN_PORT),
|
||||
sqliteLocation: maybeStr(process.env.FEEDGEN_SQLITE_LOCATION),
|
||||
subscriptionEndpoint: maybeStr(process.env.FEEDGEN_SUBSCRIPTION_ENDPOINT),
|
||||
serviceDid: maybeStr(process.env.FEEDGEN_SERVICE_DID),
|
||||
})
|
||||
await server.start()
|
||||
console.log(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue