docker alpine: improve README
The volume configuration is not required anymore, we have a default config in /etc/sftpgo and the volume config is mounted on /srv/sftpgo/config so we always have a default config in /etc/sftpgo/sftpgo.json. Anyway to persist server's keys after an image rebuild a configuration volume is highly recommended
This commit is contained in:
parent
e79f7010b4
commit
e2e122169d
1 changed files with 1 additions and 3 deletions
|
@ -2,8 +2,6 @@
|
|||
|
||||
This DockerFile is made to build image to host multiple instances of SFTPGo started with different users.
|
||||
|
||||
The volume for the configuration is not mandatory, but it will be necessary to configure SFTPGo with environment variables.
|
||||
|
||||
### Example
|
||||
> 1003 is a custom uid:gid for this instance of SFTPGo
|
||||
```bash
|
||||
|
@ -33,7 +31,7 @@ sudo docker run --name sftpgo \
|
|||
```
|
||||
The script `entrypoint.sh` makes sure to correct the permissions of directories and start the process with the right user
|
||||
|
||||
Several images can be run with another parameters.
|
||||
Several images can be run with different parameters.
|
||||
|
||||
### Custom systemd script
|
||||
An example of systemd script is present [here](sftpgo.service), with `Environment` parameter to set `PUID` and `GUID`
|
||||
|
|
Loading…
Reference in a new issue