Docker installation failing when using INTERNAL_TOKEN_URI
#21666
Labels
issue/confirmed
Issue has been reviewed and confirmed to be present or accepted to be implemented
issue/workaround
it is or has a workaround
type/bug
Milestone
Description
Docker install process generates an
INTERNAL_TOKEN
while variableINTERNAL_TOKEN_URI
was set indocker-compose.yml
... which leaves us with anapp.ini
having both of them set ... terminating the container due to an invalid configuration ... and raising an error accordingly :(...) Cannot specify both INTERNAL_TOKEN_URI and INTERNAL_TOKEN
Gitea Version
1.18.0-rc0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.githubusercontent.com/whois-marvin-42/7409ea57866a18b9695357457d02e221/raw/902e430a07f69e5d13a94897a802ae2ffa89004a/gistfile1.txt
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Using a pretty straightforward
docker-compose.yml
with your latest docker (rootless
) image.Trying to use Docker
secrets
feature when needed/possible for sensitive data = setting required variables (akaINTERNAL_TOKEN_URI
being one of those) according to your documentationDatabase
SQLite
The text was updated successfully, but these errors were encountered: