Environment file? #1161
Answered
by
digiospace
digiospace
asked this question in
Q&A
Environment file?
#1161
-
|
Hi all. I have Shiori on Debian Bookworm. I can get it running with: ./shiori server --portable |
Beta Was this translation helpful? Give feedback.
Answered by
digiospace
Oct 23, 2025
Replies: 1 comment 1 reply
-
|
N/M I figured out that Environment in the systemd file is where those variables go, so something like: However, I cannot get that SHIORI_DATABASE_URL variable working ... any tips? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok. Fixed the database url. It had to be formatted like so:
mysql://shiori:mypassword@tcp(localhost)/shiori?charset=utf8mb4"
which is to say:
mysql://db_user:db_password@tcp(localhost)/db_name?charset=utf8mb4"
Once I had the database url correctly formatted …