matrixji commented on PR #5583: URL: https://github.com/apache/incubator-devlake/pull/5583#issuecomment-1619525014
> “Maybe we could set /app owned by devlake user.” => seems it's mandatory right now. > > We could export /app/logs as a volume in Dockerfile we need a `RUN mkdir /app/logs` after `USER devlake` and use `VOLUME /app/logs` to export the /app/logs as a volume. After that: > > * If the external volume is a named volume, then the owner of /app/logs will keep devlake. > * If the external volume is an anonymous volume (in our case, a local path), the owner of /app/logs will use the host folders, so we could use chown -R 1010:1010 on our dev host. > > For the Kubernetes deployment, I think no other changes are needed. @keon94 @ZhangNing10 could you also help verify it, I just have some simple test on local. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
