Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
seafile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
seafile
Commits
84b47b40
Verified
Commit
84b47b40
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Updated seafile
parent
e3e90281
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+2
-3
2 additions, 3 deletions
Dockerfile
docker-entrypoint.sh
+1
-6
1 addition, 6 deletions
docker-entrypoint.sh
setenv.sh
+6
-3
6 additions, 3 deletions
setenv.sh
with
9 additions
and
12 deletions
Dockerfile
+
2
−
3
View file @
84b47b40
...
...
@@ -24,7 +24,7 @@ RUN pip2 install --upgrade pip && \
pylibmc
\
django-pylibmc
RUN
wget https://download.seadrive.org/seafile-server_7.0.
3
_x86-64.tar.gz
-O
/seafile-server.tar.gz
&&
\
RUN
wget https://download.seadrive.org/seafile-server_7.0.
4
_x86-64.tar.gz
-O
/seafile-server.tar.gz
&&
\
mkdir
/haiwen
&&
\
tar
xzvf /seafile-server.tar.gz
&&
\
rm
/seafile-server.tar.gz
...
...
@@ -32,10 +32,9 @@ RUN mv /seafile-server-* /haiwen/seafile-server-latest
RUN
rm
-rf
/haiwen/seafile-server-latest/seahub/media/avatars
RUN
ln
-s
/haiwen/seahub-data/avatars /haiwen/seafile-server-latest/seahub/media/avatars
ADD
setenv.sh /
ADD
docker-entrypoint.sh /
ADD
setenv.sh /haiwen/seafile-server-latest/seahub/
ENTRYPOINT
["/usr/local/bin/tini", "--"]
CMD
["/docker-entrypoint.sh"]
This diff is collapsed.
Click to expand it.
docker-entrypoint.sh
+
1
−
6
View file @
84b47b40
#!/bin/bash
ROOTPATH
=
/haiwen
INSTALLPATH
=
$ROOTPATH
/seafile-server-latest
export
CCNET_CONF_DIR
=
$ROOTPATH
/ccnet
export
SEAFILE_CENTRAL_CONF_DIR
=
$ROOTPATH
/conf
export
SEAFILE_CONF_DIR
=
$ROOTPATH
/seafile-data
export
PYTHONPATH
=
${
INSTALLPATH
}
/seafile/lib/python2.7/site-packages:
${
INSTALLPATH
}
/seafile/lib64/python2.7/site-packages:
${
INSTALLPATH
}
/seahub/thirdpart:
$PYTHONPATH
source
setenv.sh
$INSTALLPATH
/seafile.sh start
$INSTALLPATH
/seahub.sh start
...
...
This diff is collapsed.
Click to expand it.
setenv.sh
+
6
−
3
View file @
84b47b40
export
CCNET_CONF_DIR
=
/haiwen/conf
export
SEAFILE_CONF_DIR
=
/haiwen/seafile-data
export
PYTHONPATH
=
/haiwen/seafile-server-latest/seafile/lib64/python2.7/site-packages/:thirdpart:
$PYTHONPATH
export
ROOTPATH
=
/haiwen
export
INSTALLPATH
=
$ROOTPATH
/seafile-server-latest
export
CCNET_CONF_DIR
=
$ROOTPATH
/ccnet
export
SEAFILE_CENTRAL_CONF_DIR
=
$ROOTPATH
/conf
export
SEAFILE_CONF_DIR
=
$ROOTPATH
/seafile-data
export
PYTHONPATH
=
${
INSTALLPATH
}
/seafile/lib/python2.7/site-packages:
${
INSTALLPATH
}
/seafile/lib64/python2.7/site-packages:
${
INSTALLPATH
}
/seahub/thirdpart:
$PYTHONPATH
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment