From e2e122169db85c8ffe79267cccb8c4d3138e46b2 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Mon, 9 Sep 2019 13:24:48 +0200 Subject: [PATCH] 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 --- docker/sftpgo/alpine/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/sftpgo/alpine/README.md b/docker/sftpgo/alpine/README.md index 4ebf19a8..a07dd4a3 100644 --- a/docker/sftpgo/alpine/README.md +++ b/docker/sftpgo/alpine/README.md @@ -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`