add seafile
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 7s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 7s
This commit is contained in:
61
seafile/README.txt
Normal file
61
seafile/README.txt
Normal file
@@ -0,0 +1,61 @@
|
||||
Template: seafile
|
||||
|
||||
Seafile is an open source file sync and share solution designed for high reliability,
|
||||
performance, and productivity. It enables you to easily host your own cloud storage
|
||||
service with clients for Windows, Mac, Linux, iOS, and Android.
|
||||
|
||||
QUICK START
|
||||
-----------
|
||||
1. Edit config/service.env to customize your deployment:
|
||||
- Set SEAFILE_SERVER_HOSTNAME to your domain/IP
|
||||
- Change SEAFILE_ADMIN_EMAIL and SEAFILE_ADMIN_PASSWORD
|
||||
- Change MYSQL_ROOT_PASSWORD and DB_PASSWORD
|
||||
- Set DATA_PATH to your desired storage location
|
||||
- Adjust HTTP_PORT if needed (default: 8080)
|
||||
|
||||
2. Run 'dropshell validate seafile' to check for issues
|
||||
3. Deploy with 'dropshell install <server> seafile'
|
||||
|
||||
ARCHITECTURE
|
||||
------------
|
||||
This template deploys three containers using docker-compose:
|
||||
- seafile: Main Seafile server (seafileltd/seafile-mc)
|
||||
- db: MariaDB database (mariadb:10.11)
|
||||
- memcached: Caching layer (memcached:1.6-alpine)
|
||||
|
||||
DATA STORAGE
|
||||
------------
|
||||
All data is stored in the host directory specified by DATA_PATH:
|
||||
- ${DATA_PATH}/seafile-data/ : Seafile files, configs, and logs
|
||||
- ${DATA_PATH}/mariadb/ : MariaDB database files
|
||||
|
||||
DEFAULT PORTS
|
||||
-------------
|
||||
- HTTP_PORT (default 8080): Web interface and file sync
|
||||
|
||||
CONFIGURATION
|
||||
-------------
|
||||
Key variables in service.env:
|
||||
- CONTAINER_NAME : Base name for containers
|
||||
- DATA_PATH : Host directory for persistent data
|
||||
- HTTP_PORT : Web interface port
|
||||
- SEAFILE_SERVER_HOSTNAME : Your server's hostname/domain
|
||||
- SEAFILE_SERVER_PROTOCOL : http or https
|
||||
- SEAFILE_ADMIN_EMAIL : Admin account email
|
||||
- SEAFILE_ADMIN_PASSWORD : Admin account password
|
||||
- MYSQL_ROOT_PASSWORD : MariaDB root password
|
||||
- TZ : Timezone (e.g., UTC, Europe/London)
|
||||
|
||||
FIRST STARTUP
|
||||
-------------
|
||||
The first startup takes several minutes as Seafile initializes the database.
|
||||
Check progress with: dropshell logs <server> seafile
|
||||
|
||||
ACCESS
|
||||
------
|
||||
After installation, access Seafile at:
|
||||
${SEAFILE_SERVER_PROTOCOL}://${SEAFILE_SERVER_HOSTNAME}:${HTTP_PORT}
|
||||
|
||||
Login with the admin credentials you configured in service.env.
|
||||
|
||||
For full documentation, see: https://manual.seafile.com/
|
||||
Reference in New Issue
Block a user