Docker - modifiable UID
Is your feature request related to a problem? Please describe.
The Docker container currently works only on user 1000. This leads to problems if the container is to be used in synergy with other services (e.g., Apache).
Describe the solution you'd like
Adapt the container so that the UID on which SFTPgo will work can be set (e.g., via environment variable).
Describe alternatives you've considered
No response
What are you using SFTPGo for?
Private user, home usecase (home backup/VPS)
Additional context
No response
I have same issue. With ProFTPd you could set the UID en GID for uploads. Would like to have the same function per user.
Just use Docker feature for this. Example for Apache on Alpine Linux:
services:
sftpgo:
container_name: sftpgo
image: drakkan/sftpgo:v2-alpine-slim
user: 101:100
(...)
Your used volumes need chown -R 101:100 /sftpgo/folder of course...
Already indeed solved it. The user key fixed it indeed, as I use 33:33 for the websites. All fine now, but would have been better if you could set a UID and GID per account though.