feat: basic auth shit + db init
This commit is contained in:
parent
db49da5fd9
commit
d8caef7e5d
10 changed files with 261 additions and 69 deletions
14
.env.example
14
.env.example
|
@ -1 +1,13 @@
|
|||
IMAGE_PATH=
|
||||
IMAGE_PATH=/tmp
|
||||
REDIRECT_URI=http://localhost:8081/api/auth/callback
|
||||
CLIENT_ID=
|
||||
CLIENT_SECRET=
|
||||
|
||||
# can be either postgres or sqlite
|
||||
DATABASE_TYPE=
|
||||
|
||||
# database file, stereo.db by default.
|
||||
SQLITE_FILE=
|
||||
|
||||
# postgres DSN, look at https://gorm.io/docs/connecting_to_the_database.html#PostgreSQL
|
||||
POSTGRES_DSN=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue