Skip to content

VoDACode/FileExchanger

Repository files navigation

FileExchanger

Installing FileExchanger as a Docker container

  • Install Docker in your computer. "How to install Docker on a computer?" written on the official Docker website.
  • Pull the docker image docker pull vodacode/fileexchanger
  • On first start you should configure application.
    Minimum requirements for the first run:
    docker run -d -p 8080:80 --name MyFileExchnager vodacode/fileexchanger -DB_HOST 127.0.0.1 -DB_PORT 1433 -DB_AUTH sa@password -FTP_HOST 127.0.0.1 - This command will launch a visa container named "MyFileExchnager" on port 8080.
    More details in the section "Configurations".
  • For next runs you could use Docker Hub (GUI) or command line.
    Run from the command line: docker start MyFileExchnager

Configurations

  • -DB_HOST [String] - Database server host.
    Example: -DB_HOST example.com or -DB_HOST 127.0.0.1
  • -DB_PORT [Number] - Database server port.
    Example: -DB_PORT 1433
  • -DB_AUTH [String] - Data for authorization on the database server.
    Example: -DB_AUTH username@password
  • -DB_NAME [String] - (optional) Database name.
    Default: FileExchanger_[TICKS_AT_INITIALIZATION]
    Example: -DB_NAME FileExchanger
  • -FTP_HOST [String] - File server hostname.
    Example: -FTP_HOST example.com or -FTP_HOST 127.0.0.1
  • -FTP_PORT [Number] - (optional) File server port.
    Default: 21
    Example: -FTP_PORT 21
  • -FTP_AUTH [String] - (optional) Data for authorization on the file server.
    Default: anon@anon
    Example: -FTP_AUTH username@password
  • -FTP_SSL [Boolean] - (optional) Enable ssl connection to ftp server.
    Default: 0 - Disabled
    Example: -FTP_SSL 1
  • -MaxSaveSize [String] - (optional) The maximum file size that can be saved.
    Default: 1.5 Gb
    Format: -MaxSaveSize [[Number] Gb/Mb/Kb]
    Example: -MaxSaveSize 2 Gb
  • -MaxSaveTime [String] - (optional) Maximum file storage time.
    Default: 1d
    Format: -MaxSaveTime [[Number]d/h/m/s]..
    Example: -MaxSaveTime 1d 5h 40m 50s
  • -MaxUploadCount [Number] - (optional) Maximum number of file uploads.
    Default: 2
    Example: -MaxUploadCount 3

About

Allows you to quickly create your own file sharing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published