Closed
Description
I run gitea with this command:
docker run -d --restart=always --publish 3000:3000 \
--publish 22:22 --network gitea \
-v /opt/gitea:/data \
-v /etc/timezone:/etc/timezone:ro \
-v /etc/localtime:/etc/localtime:ro \
-e USER_UID=1218 -e USER_GID=1218 \
-e GITEA_WORK_DIR=/data/gitea -e GITEA_CUSTOM=/data/gitea/custom \
--name=gitea gitea/gitea:latest
The AppPath is /app/gitea/gitea
and such is written to authorized_keys, however when executing docker exec -ti gitea su git bash -c "cd /data/gitea/log && gitea doctor"
the AppPath is /usr/local/bin/gitea
. This issue leads to doctor always complaining that authorized_keys is out of date.