Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

#13 Fixing first start issue #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ Dockerfiles for older versions of Seafile Server you can find [there](https://gi

To run container you can use following command:
```bash
docker run \
-v /home/docker/seafile:/home/seafile \
-p 127.0.0.1:8000:8000 \
-p 127.0.0.1:8082:8082 \
-ti sunx/seafile`
docker run \
-v /home/docker/seafile:/home/seafile \
-p 127.0.0.1:8000:8000 \
-p 127.0.0.1:8082:8082 \
--name seafile \
-ti sunx/seafile
```
Containers, based on this image will automatically configure
Seafile enviroment if there isn't any. If Seafile enviroment is from previous version of Seafile, container will automatically upgrade it to latest version (by calling Seafile upgrade scripts).
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-run
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ if [ ! -f $VERSION_FILE ]; then

# Do syncdb anyway, because it willn't corrupt old databse
#if [ ! -f 'seahub.db' ]; then
python seafile-server/seahub/manage.py syncdb || exit 5
python seafile-server/seahub/manage.py migrate || exit 5
echo
echo '* seahub database synchronized successfully'
#fi
Expand Down