Sign inSign up

amirul123/filesender

By amirul123

•Updated 5 months ago

FileSender – Self-hosted secure file sharing server.

Image
Databases & storage
0

4.7K

amirul123/filesender repository overview

⁠FileSender Production Docker Image

Docker Pulls Docker Image Size GitHub Repo

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.


⁠🚀 Quick Start

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.

⁠Environment Variables

To connect to your database (recommended), use these variables:

VariableDescriptionDefault
FILESENDER_DB_HOSTDatabase hostname or IPdb
FILESENDER_DB_USERDatabase usernamefilesender
FILESENDER_DB_PASSDatabase password(required)
FILESENDER_DB_NAMEDatabase namefilesender

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

⁠Image Tags

TagDescription
latestMost recent stable build from prod branch.
prodSame as latest (explicit production tag)

-Future tags may include versioned releases.-

⁠Where does this image come from?

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.

⁠Testing & Verification

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

⁠🤝 Support & Contributing

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.

⁠📄 License

This image inherits the AGPL‑3.0 license from the FileSender project.

See LICENSE for details.

Maintained by Amirul – Happy secure file sharing! 🚀

Tag summary

Content type

Image

Digest

sha256:4c6d425ff…

Size

391.9 MB

Last updated

5 months ago

docker pull amirul123/filesender