Skip to content
This repository was archived by the owner on Oct 18, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ $ docker run --name droppy -p 127.0.0.1:8989:8989 silverwind/droppy

This method uses automatic volumes for `/config` and `/files` which can be overridden through `-v /srv/droppy/config:/config` and `-v /srv/droppy/files:/files`. If you're using existing files, it's advisable to use `-e UID=1000 -e GID=1000` to get new files written with correct ownership.

You can also set the default privileged username and password using `-e DROPPY_ADMIN_USER=admin -e DROPPY_ADMIN_PASSWORD=[your admin password]`.

To update a docker installation, run

```sh
Expand Down
5 changes: 5 additions & 0 deletions docker-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ echo -e "droppy:x:${GID}:droppy\n" >> /etc/group
mkdir -p /config
mkdir -p /files

if [[ -n "$DROPPY_ADMIN_USER" && -n "$DROPPY_ADMIN_PASSWORD" ]]; then
droppy add "$DROPPY_ADMIN_USER" "$DROPPY_ADMIN_PASSWORD" true
fi

chown -R droppy:droppy /config
chown droppy:droppy /files


exec /bin/su -p -s "/bin/sh" -c "exec /usr/bin/droppy start --color -f /files -c /config" droppy