-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker installation failing when using INTERNAL_TOKEN_URI
#21666
Comments
Caused by #19663 The |
The fix: #21669 Workaround:
|
Hi. Thanks for your answer. Since I was testing your RC, I filled the issue hoping a fix could be part of the next milestone (or at least update / make a note on the documentation) making it easier for those who are using |
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: