mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-25 09:00:27 +00:00
docker alpine: fix example
execute 20191112.sql too
This commit is contained in:
parent
39fc9b73e9
commit
f8fd5c067c
2 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue