Sign inSign up

avesit/filesender

By avesit

Updated almost 4 years ago

Filesender in Docker

Image
0

2.2K

avesit/filesender repository overview

filesender-phpfpm

Introduction

Docker image of filesender ran within php-fpm, especially tuned for consumption into Kubernetes. All images are based off of debian stable.

This is a follow-up of ualibraries. Automated builds will be available at Docker hub.

This release of filesender can use simplesamlphp or shibboleth-sp for authentication. Questions directly related on using or configuring filesender should get posted to it's mailinglist.

This docker image is not meant to run on its own, as it has some dependencies missing. Especially, this image only provides PHP-FPM with simplesamlphp and filesender installed.

Dependencies

This container image of filesender requires the following dependencies:

Environmental dependencies
  1. An (external) IP address
  2. A (public) DNS entry
  3. Sufficient storage capacity to store uploaded files for their lifetime`
External services
  1. An smtp server to send emails. For example a third party SMTP service or a company email server could be used.
  2. A reverse proxy that can handle FPM. Haproxy or Nginx would be suitable candidates
  3. An SSL certificate to make the service available via https/ssl
  4. A database engine to store application data in. Currently supported is mysql/pgsql.

All dependencies are provided using the helm chart located in TODO

Environment Variables

The following environment variables control the container setup:

Configuration

The following table lists the configurable parameters of the container and their default values.

EnvironmentDescriptionDefault
FILESENDER_URLfull URL to filesender servicehttps://localhost/
FILESENDER_AUTHTYPEAuthentication for filesender, possible
values: shibboleth / saml / fakesaml
FILESENDER_AUTHSAMLAuthentication type for simplesaml
MAIL_ATTRAttributes. Value varies per AUTHTYPE
NAME_ATTRsimplesaml: SAML attribute
UID_ATTRshibboleth: ENV variable name
fake: actual value
FILESENDER_STORAGEFilesystem: Local fs storageFilesystem
FilesystemChunked: File chunks locally
FilesystemPreserveName: Original filename
on local fs
FilesystemAzure: Azure blob alpha
FilesystemS3: AWS S3 storage alpha
DB_TYPEDatabase type. Supports mysql or pgsqlpgsql
DB_HOSTDatabase hostname to connect to
DB_NAMEDatabase name to usefilesender
DB_PORTDatabase port to connect to3306 for mysql, 5432 for pgsql
DB_USERDatabase user to connect to the databasefilesender
DB_PASSWORDPassword for DB_USER
PHP_FPM_LISTENPort for PHP FPM to listen to9000
SMTP_SERVERSMTP server to send e-mail through
SMTP_TLSSMTP server uses encrypted communicationTrue
SMTP_USERoptional user account for SMTP
SMTP_PASSWORDoptional password for SMTP
CHOWN_WWWoptional uid:gid value to run as
ADMIN_EMAILe-mail address for filesender admin
ADMIN_USERSset of user identifiers that are admin
ADMIN_PASSWORDAdmin account password
SIMPLESAML_MODULESSpace seperated list of enabled modules
SIMPLESAML_SALToptional simplesaml saltauto-generated on first run if missing

These variables are set using the setup.sh script, which runs in the filesender-phpfpm docker container the first time it starts up from the location /setup.sh.

Tag summary

Content type

Image

Digest

sha256:48182b697

Size

188.7 MB

Last updated

almost 4 years ago

docker pull avesit/filesender