update how configuring works

This commit is contained in:
Gabriel Fontes
2023-06-11 15:41:55 -03:00
parent c808e5f480
commit e147916d27
10 changed files with 338 additions and 149 deletions

8
example.env Executable file
View File

@@ -0,0 +1,8 @@
# You may configure the app with CLI args or env vars
# If using env vars, using dotenv is convenient; just copy this file to .env
# and edit it accordingly.
DISCONIC_SUBSONIC_URL="https://example.com"
DISCONIC_SUBSONIC_USER="admin"
DISCONIC_SUBSONIC_PASSWORD="1234"
DISCONIC_DISCORD_TOKEN="xxx"
DISCONIC_LOG_LEVEL="warn"