docker alpine: fix example

execute 20191112.sql too
This commit is contained in:
Nicola Murino 2019-12-06 21:57:29 +01:00
parent 39fc9b73e9
commit f8fd5c067c
2 changed files with 3 additions and 0 deletions

View file

@ -312,6 +312,8 @@ netsh advfirewall firewall add rule name="SFTPGo Service" dir=in action=allow pr
or through the Windows Firewall GUI.
## Portable mode
SFTPGo allows to share a single directory on demand using the `portable` subcommand:
```

View file

@ -10,6 +10,7 @@ sudo groupadd -g 1003 sftpgrp && \
sudo useradd -u 1003 -g 1003 sftpuser -d /home/sftpuser/ && \
sudo -u sftpuser mkdir /home/sftpuser/{conf,data} && \
curl https://raw.githubusercontent.com/drakkan/sftpgo/master/sql/sqlite/20190828.sql | sqlite3 /home/sftpuser/conf/sftpgo.db && \
curl https://raw.githubusercontent.com/drakkan/sftpgo/master/sql/sqlite/20191112.sql | sqlite3 /home/sftpuser/conf/sftpgo.db && \
curl https://raw.githubusercontent.com/drakkan/sftpgo/master/sftpgo.json -o /home/sftpuser/conf/sftpgo.json
# Get and build SFTPGo image