Add Seafile wiki page
1
Home.md
1
Home.md
@@ -18,6 +18,7 @@
|
||||
- [[Juris]] — Remote server (83.99.190.32)
|
||||
- [[Adolf]] — Persistent AI assistant (Telegram, GPU, memory)
|
||||
- [[Vaultwarden]] — Password manager (Bitwarden-compatible)
|
||||
- [[Seafile]] — File sync and document editing
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
||||
44
Seafile.md
Normal file
44
Seafile.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Seafile
|
||||
|
||||
Self-hosted file sync and share platform with document editing (SeaDoc).
|
||||
|
||||
- **URL**: `https://docs.alogins.net`
|
||||
- **Admin**: `https://docs.alogins.net/sys/info/`
|
||||
- **Data**: `/mnt/misc/seafile/`
|
||||
- **Port**: `127.0.0.1:8078` (proxied via Caddy)
|
||||
|
||||
## Setup
|
||||
|
||||
```bash
|
||||
cd ~/agap_git/seafile
|
||||
cp .env.example .env # fill in credentials from Vaultwarden
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Credentials stored in Vaultwarden AI collection:
|
||||
|
||||
| Item name | Description |
|
||||
|-----------|-------------|
|
||||
| `SEAFILE_MYSQL_DB_PASSWORD` | MariaDB seafile user password |
|
||||
| `SEAFILE_INIT_MYSQL_ROOT_PASSWORD` | MariaDB root password (first-run only) |
|
||||
| `SEAFILE_INIT_ADMIN_EMAIL` | Initial admin email |
|
||||
| `SEAFILE_INIT_ADMIN_PASSWORD` | Initial admin password |
|
||||
| `SEAFILE_REDIS_PASSWORD` | Redis password |
|
||||
| `SEAFILE_JWT_PRIVATE_KEY` | JWT signing key |
|
||||
|
||||
## Stack
|
||||
|
||||
| Container | Image | Role |
|
||||
|-----------|-------|------|
|
||||
| `seafile` | `seafileltd/seafile-mc:13.0` | Main app (port 8078 on host) |
|
||||
| `seadoc` | `seafileltd/sdoc-server:2.0` | Document editing |
|
||||
| `seafile-mysql` | `mariadb:10.11` | Database |
|
||||
| `seafile-redis` | `redis` | Cache |
|
||||
| `seafile-caddy` | `lucaslorentz/caddy-docker-proxy` | Internal proxy (port 8077, unused) |
|
||||
|
||||
## Notes
|
||||
|
||||
- `SEAFILE_SERVER_PROTOCOL=https` required — setting it to `http` causes CSRF errors when accessed via HTTPS
|
||||
- `TIME_ZONE` must be a valid tz name (e.g. `Asia/Dubai`) — `Etc/UTC+4` is invalid and causes container crash
|
||||
- `.env` is gitignored — credentials stored in Vaultwarden only
|
||||
- Caddy proxies directly to `seafile` container on port 8078, bypassing the internal seafile-caddy
|
||||
Reference in New Issue
Block a user