FileSender – Self-hosted secure file sharing server.
4.7K
FileSender is a secure, self‑hosted file sharing application used by universities, research organisations, and enterprises. This Docker image provides a production‑ready build using Apache + PHP 8.2, based on the official FileSender source code from my custom prod branch.
Run the container with default settings:
docker run -d -p 8080:80 --name filesender amirul123/filesender:latest
Then open http://your-server-ip:8080 and follow the installation wizard. You will need to provide your database credentials during setup.
To connect to your database (recommended), use these variables:
| Variable | Description | Default |
|---|---|---|
| FILESENDER_DB_HOST | Database hostname or IP | db |
| FILESENDER_DB_USER | Database username | filesender |
| FILESENDER_DB_PASS | Database password | (required) |
| FILESENDER_DB_NAME | Database name | filesender |
Example:
docker run -d -p 8080:80 \
-e FILESENDER_DB_HOST=192.168.1.100 \
-e FILESENDER_DB_USER=filesender_user \
-e FILESENDER_DB_PASS=MyStr0ngP@ssw0rd \
-e FILESENDER_DB_NAME=filesender_db \
--name filesender amirul123/filesender:latest
version: '3.8'
services:
filesender:
image: amirul123/filesender:latest
container_name: filesender-app
restart: unless-stopped
ports:
- "8080:80"
environment:
- FILESENDER_DB_HOST=db
- FILESENDER_DB_USER=filesender
- FILESENDER_DB_PASS=${DB_PASSWORD} # use .env file
- FILESENDER_DB_NAME=filesender
volumes:
- filesender_data:/var/www/html/data
- filesender_tmp:/var/www/html/tmp
depends_on:
- db
db:
image: mariadb:10.11
container_name: filesender-db
restart: unless-stopped
environment:
- MYSQL_ROOT_PASSWORD=${ROOT_PASSWORD}
- MYSQL_DATABASE=filesender
- MYSQL_USER=filesender
- MYSQL_PASSWORD=${DB_PASSWORD}
volumes:
- db_data:/var/lib/mysql
volumes:
filesender_data:
filesender_tmp:
db_data:
Start everything:
docker-compose up -d
| Tag | Description |
|---|---|
latest | Most recent stable build from prod branch. |
prod | Same as latest (explicit production tag) |
-Future tags may include versioned releases.-
Source code: GitHub – Amirul78800/filesender/tree/prod
Base image: php:8.2-apache (official PHP image)
Build automation: GitHub Actions (CI/CD) builds and pushes automatically on every commit to the prod branch.
After deployment, verify that: The web interface loads (/).
Configuration file is created at config/config.php.
Upload / download works (tests writing to data/ directory).
Logs show no permission errors: docker logs filesender-app
This is a community‑maintained image.
For issues related to this specific Docker build, please open an issue on the GitHub repo.
For general FileSender questions, refer to the official documentation.
This image inherits the AGPL‑3.0 license from the FileSender project.
See LICENSE for details.
Maintained by Amirul – Happy secure file sharing! 🚀
Content type
Image
Digest
sha256:4c6d425ff…
Size
391.9 MB
Last updated
5 months ago
docker pull amirul123/filesender