https://manual.seafile.com/deploy/
https://manual.seafile.com/deploy/using_sqlite/
docker-compose.yml
memcached:
image: memcached:1.5.6
container_name: storage_seafile_memcached
restart: always
entrypoint: memcached -m 256
networks:
- storage_net
seafile:
image: seafileltd/seafile-mc:9.0.5
container_name: storage_seafile
restart: always
ports:
- 80:80
volumes:
- /seafile/shared:/shared
environment:
- DB_HOST=mysql
- DB_ROOT_PASSWD=xxxx
- TIME_ZONE=Etc/UTC
- SEAFILE_ADMIN_EMAIL=intbird@intbird.net
- SEAFILE_ADMIN_PASSWORD=xxxx
- SEAFILE_SERVER_LETSENCRYPT=false
- SEAFILE_SERVER_HOSTNAME=seafile.intbird.net
depends_on:
- mysql
- memcached
networks:
- storage_net
sqllite
apt-get update
apt-get install python2.7 libpython2.7 python-setuptools python-ldap python-urllib3 sqlite3 python-requests
./seafile.sh restart
./seahub.sh restart
./seafile.sh stop
./seahub.sh stop
// ./haiwen/conf/ccnet.conf
// ./haiwen/seafile-server-7.0.5/seafile.sh
// ./haiwen/seafile-server-7.0.5/seahub.sh
// ./haiwen/seafile-server-7.0.5/seahub.sh start-fastcgi
501 wget https://s3.eu-central-1.amazonaws.com/download.seadrive.org/seafile-server_7.0.5_x86-64.tar.gz
502 mkdir haiwen
503 mv seafile-server_* haiwen
504 cd haiwen
505 tar -xzf seafile-server_*
506 mkdir installed
507 mv seafile-server_* installed
508 apt-get update
509 apt-get install python2.7 libpython2.7 python-setuptools python-ldap python-urllib3 sqlite3 python-requests
510 cd seafile-server-*
511 ./setup-seafile.sh
512 ./seafile.sh start
513 ./seahub.sh start