-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use river + newman, remove marionette + posthog (#87)
* feat: use river + newan, remove marionette, posthog, sendgrid Signed-off-by: Sarah Funkhouser <[email protected]> * fix db, remove exec query feature Signed-off-by: Sarah Funkhouser <[email protected]> --------- Signed-off-by: Sarah Funkhouser <[email protected]>
- Loading branch information
1 parent
a95dbf3
commit 4eadf82
Showing
292 changed files
with
3,639 additions
and
3,192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,18 +85,16 @@ CORE_AUTHZ_CREDENTIALS_ISSUER="" | |
CORE_AUTHZ_CREDENTIALS_SCOPES="" | ||
CORE_DB_DEBUG="false" | ||
CORE_DB_DATABASENAME="openlane" | ||
CORE_DB_DRIVERNAME="libsql" | ||
CORE_DB_DRIVERNAME="pgx" | ||
CORE_DB_MULTIWRITE="false" | ||
CORE_DB_PRIMARYDBSOURCE="file:openlane.db" | ||
CORE_DB_SECONDARYDBSOURCE="file:backup.db" | ||
CORE_DB_CACHETTL="1s" | ||
CORE_DB_RUNMIGRATIONS="true" | ||
CORE_DB_MIGRATIONPROVIDER="atlas" | ||
CORE_DB_ENABLEHISTORY="false" | ||
CORE_DBX_ENABLED="true" | ||
CORE_DBX_BASEURL="http://localhost:1337" | ||
CORE_DBX_ENDPOINT="query" | ||
CORE_DBX_DEBUG="false" | ||
CORE_JOBQUEUE_CONNECTIONURI="" | ||
CORE_JOBQUEUE_RUNMIGRATIONS="false" | ||
CORE_REDIS_ENABLED="true" | ||
CORE_REDIS_ADDRESS="localhost:6379" | ||
CORE_REDIS_NAME="openlane" | ||
|
@@ -121,24 +119,22 @@ CORE_TRACER_OTLP_CERTIFICATE="" | |
CORE_TRACER_OTLP_HEADERS="" | ||
CORE_TRACER_OTLP_COMPRESSION="" | ||
CORE_TRACER_OTLP_TIMEOUT="10s" | ||
CORE_EMAIL_SENDGRIDAPIKEY="" | ||
CORE_EMAIL_FROMEMAIL="[email protected]" | ||
CORE_EMAIL_TESTING="true" | ||
CORE_EMAIL_ARCHIVE="" | ||
CORE_EMAIL_LISTID="" | ||
CORE_EMAIL_ADMINEMAIL="[email protected]" | ||
CORE_EMAIL_CONSOLEURL_CONSOLEBASE="https://console.theopenlane.io" | ||
CORE_EMAIL_CONSOLEURL_VERIFY="/verify" | ||
CORE_EMAIL_CONSOLEURL_INVITE="/invite" | ||
CORE_EMAIL_CONSOLEURL_RESET="/password-reset" | ||
CORE_EMAIL_MARKETINGURL_MARKETINGBASE="https://www.theopenlane.io" | ||
CORE_EMAIL_MARKETINGURL_SUBSCRIBERVERIFY="/verify" | ||
CORE_EMAIL_COMPANYNAME="" | ||
CORE_EMAIL_COMPANYADDRESS="" | ||
CORE_EMAIL_CORPORATION="" | ||
CORE_EMAIL_FROMEMAIL="" | ||
CORE_EMAIL_SUPPORTEMAIL="" | ||
CORE_EMAIL_LOGOURL="" | ||
CORE_EMAIL_URLS_ROOT="" | ||
CORE_EMAIL_URLS_PRODUCT="" | ||
CORE_EMAIL_URLS_DOCS="" | ||
CORE_EMAIL_URLS_VERIFY="" | ||
CORE_EMAIL_URLS_INVITE="" | ||
CORE_EMAIL_URLS_RESET="" | ||
CORE_EMAIL_URLS_VERIFYSUBSCRIBER="" | ||
CORE_SESSIONS_SIGNINGKEY="my-signing-secret" | ||
CORE_SESSIONS_ENCRYPTIONKEY="encryptionsecret" | ||
CORE_SESSIONS_DOMAIN="" | ||
CORE_POSTHOG_ENABLED="false" | ||
CORE_POSTHOG_APIKEY="" | ||
CORE_POSTHOG_HOST="https://app.posthog.com" | ||
CORE_TOTP_ENABLED="true" | ||
CORE_TOTP_CODELENGTH="6" | ||
CORE_TOTP_ISSUER="" | ||
|
@@ -150,8 +146,3 @@ CORE_RATELIMIT_ENABLED="false" | |
CORE_RATELIMIT_LIMIT="10" | ||
CORE_RATELIMIT_BURST="30" | ||
CORE_RATELIMIT_EXPIRES="10m" | ||
CORE_PUBLISHERCONFIG_ENABLED="false" | ||
CORE_PUBLISHERCONFIG_APPNAME="openlane" | ||
CORE_PUBLISHERCONFIG_ADDRESS="localhost:10000" | ||
CORE_PUBLISHERCONFIG_ADDRESSES="[localhost:10000]" | ||
CORE_PUBLISHERCONFIG_DEBUG="false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,24 @@ server: | |
# tls settings | ||
tls: | ||
enabled: false | ||
|
||
# dbx settings | ||
dbx: | ||
enabled: false | ||
|
||
# db settings | ||
db: | ||
debug: true | ||
driverName: postgres | ||
driverName: pgx | ||
primaryDbSource: "postgres://postgres:[email protected]:5432/core?sslmode=disable" | ||
multiWrite: false | ||
migrationProvider: "goose" | ||
runMigrations: true | ||
enableHistory: true | ||
|
||
jobQueue: | ||
connectionURI: "postgres://postgres:[email protected]:5432/jobs?sslmode=disable" | ||
|
||
# auth settings | ||
auth: | ||
enabled: true | ||
|
@@ -48,6 +58,7 @@ auth: | |
relyingPartyId: "localhost" | ||
requestOrigins: | ||
- "http://localhost:3001" | ||
|
||
# authz settings | ||
authz: | ||
enabled: true | ||
|
@@ -61,22 +72,22 @@ authz: | |
sessions: | ||
encryptionKey: encryptionsecret | ||
signingKey: my-signing-secret | ||
|
||
# email settings | ||
email: | ||
testing: true | ||
archive: "fixtures/email" | ||
sendGridApiKey: "SG.FakeAPIKey" | ||
consoleUrl: | ||
consoleBase: "http://localhost:17608/" | ||
# analytics settings | ||
posthog: | ||
enabled: false | ||
apiKey: "phc_FakeKey" | ||
publisherConfig: | ||
appName: openlane | ||
addresses: | ||
- localhost:10000 | ||
enabled: true | ||
companyAddress: 5150 Broadway St · San Antonio, TX 78209 | ||
companyName: Openlane | ||
corporation: theopenlane, Inc. | ||
fromEmail: [email protected] | ||
supportEmail: [email protected] | ||
urls: | ||
verifySubscriber: https://www.theopenlane.io/subscribe | ||
verify: https://console.theopenlane.io/verify | ||
reset: https://console.theopenlane.io/password-reset | ||
invite: https://console.theopenlane.io/invite | ||
root: https://www.theopenlane.io | ||
docs: https://docs.theopenlane.io | ||
product: https://console.theopenlane.io | ||
|
||
entConfig: | ||
entityTypes: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,49 +55,57 @@ db: | |
cacheTTL: 1000000000 | ||
databaseName: openlane | ||
debug: false | ||
driverName: libsql | ||
driverName: pgx | ||
enableHistory: false | ||
migrationProvider: atlas | ||
multiWrite: false | ||
primaryDbSource: file:openlane.db | ||
runMigrations: true | ||
secondaryDbSource: file:backup.db | ||
dbx: | ||
baseUrl: http://localhost:1337 | ||
debug: false | ||
enabled: true | ||
endpoint: query | ||
email: | ||
adminEmail: [email protected] | ||
archive: "" | ||
consoleUrl: | ||
consoleBase: https://console.theopenlane.io | ||
invite: /invite | ||
reset: /password-reset | ||
verify: /verify | ||
fromEmail: [email protected] | ||
listId: "" | ||
marketingUrl: | ||
marketingBase: https://www.theopenlane.io | ||
subscriberVerify: /verify | ||
sendGridApiKey: "" | ||
testing: true | ||
companyAddress: "" | ||
companyName: "" | ||
corporation: "" | ||
fromEmail: "" | ||
logoURL: "" | ||
supportEmail: "" | ||
urls: | ||
docs: "" | ||
invite: "" | ||
product: "" | ||
reset: "" | ||
root: "" | ||
verify: "" | ||
verifySubscriber: "" | ||
entConfig: | ||
entityTypes: null | ||
flags: | ||
useListObjectServices: false | ||
useListUserService: true | ||
posthog: | ||
apiKey: "" | ||
enabled: false | ||
host: https://app.posthog.com | ||
publisherConfig: | ||
address: localhost:10000 | ||
addresses: | ||
- localhost:10000 | ||
appName: openlane | ||
debug: false | ||
enabled: false | ||
jobQueue: | ||
connectionURI: "" | ||
riverConf: | ||
AdvisoryLockPrefix: 0 | ||
CancelledJobRetentionPeriod: 0 | ||
CompletedJobRetentionPeriod: 0 | ||
DiscardedJobRetentionPeriod: 0 | ||
ErrorHandler: null | ||
FetchCooldown: 0 | ||
FetchPollInterval: 0 | ||
ID: "" | ||
JobCleanerTimeout: 0 | ||
JobTimeout: 0 | ||
Logger: null | ||
MaxAttempts: 0 | ||
PeriodicJobs: null | ||
PollOnly: false | ||
Queues: null | ||
ReindexerSchedule: null | ||
RescueStuckJobsAfter: 0 | ||
RetryPolicy: null | ||
TestOnly: false | ||
Workers: null | ||
runMigrations: false | ||
ratelimit: | ||
burst: 30 | ||
enabled: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.