-
Notifications
You must be signed in to change notification settings - Fork 31
Please add some docs on how to run lgtm #29
Comments
Looks like you are on some redhat system? Add a :z to the volume. Please note that this project is not maintained on the long term by us, we will launch our own gitea instance soon and than we will drop this tool. |
FYI I got the same errors on CentOS and it turned out to be SELinux for me |
Just add something like |
adding the volume fixes the database ping error for me, but i cant login after that. everything just ends in a github 404. am i missing something else? |
A GitHub 404? What do you mean? |
after i start the docker container as mentioned before, i get this web ui If i click on sign in, i get redirected to this link, which results in a 404 like i said, i think i am missing something here, but i can't find any documentation :/ Offtopic: tboerger you are really working on a lot of projects. i feel like i have seen your name constantly over the last months :D |
okay i see now what i have missed. you are working with the github oauth api and don't provide a way of how to set the oauth client id and secret (at least i could not find any), as well as there is no clear way to figure out the callback url to register a new oauth application in general (it is crafted in this function ). |
You can see at https://github.com/go-gitea/infrastructure/blob/master/ansible/roles/lgtm/templates/service.j2#L17-L25 how we are launching this container, just provide the required environment variables and the redirect URL should be something like
Yeah I'm pretty active in the Go world, maybe it's too much from time to time :P |
that works perfectly thanks (:
should be mentioned in the readme. i can write something down and create a pull request if you'd like |
I've tired using docker image with
docker run -d -p 8000:8000 -e DEBUG=true gitea/lgtm
but it doesn't look to start up and docker logs say:The text was updated successfully, but these errors were encountered: