Sign inSign up

unionk/filegator

By unionk

Updated about 5 years ago

FileGator is a free, open-source, self-hosted web application for managing files and folders.

Image
0

1.9K

unionk/filegator repository overview

FileGator - Powerful Multi-User File Manager

FileGator is a free, open-source, self-hosted web application for managing files and folders.
Docker image for filegator.

Usage:

docker-compose
services:
  filerun:
    image: unionk/filegator
    container_name: filegator
    ports:
      - 80:80
      - 443:443
    environment:
      PUID: 1000
      PGID: 1000
      TZ: Europe/London
    volumes:
      - /your/data/folder:/data
      - /your/config/folder:/config
    restart: unless-stopped
docker cli
docker run -d \
  --name=filegator \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Europe/London \
  -p 80:80 \
  -p 443:443 \
  -v </path/to/appdata/config>:/config \
  -v </path/to/data>:/data \
  --restart unless-stopped \
  unionk/filegator

Parameters

Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate <external>:<internal> respectively. For example, -p 8080:80 would expose port 80 from inside the container to be accessible from the host's IP on port 8080 outside the container.

ParameterFunction
-p 80http gui
-p 443https gui
-e PUID=1000for UserID - see below for explanation
-e PGID=1000for GroupID - see below for explanation
-e TZ=Europe/LondonSpecify a timezone to use EG Europe/London
-v /configContains all relevant configuration files.
-v /dataContains all personal files.

Environment variables from files (Docker secrets)

You can set any environment variable from a file by using a special prepend FILE__.

As an example:

-e FILE__PASSWORD=/run/secrets/mysecretpassword

Will set the environment variable PASSWORD based on the contents of the /run/secrets/mysecretpassword file.

Umask for running applications

For all of our images we provide the ability to override the default umask settings for services started within the containers using the optional -e UMASK=022 setting. Keep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up here before asking for support.

User / Group Identifiers

When using volumes (-v flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id user as below:

  $ id username
    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)

 

Application Setup

Access the web gui at http://SERVERIP:PORT
Login as admin with default credentials admin/admin123

Tag summary

Content type

Image

Digest

Size

29.2 MB

Last updated

about 5 years ago

docker pull unionk/filegator