Sign inSign up

elboletaire/angular-filemanager

By elboletaire

•Updated almost 9 years ago

A dockerized web file manager created using angular-filemanager.

Image
0

2.6K

elboletaire/angular-filemanager repository overview

⁠Dockerfile for Angular Filemanager

A dockerized web file manager created using angular-filemanager⁠.

⁠Usage

You can create a container both using docker run or docker-compose.

Using docker run:

docker run -d -p 8080:80 \
    -e BRIDGE=php-local \
    -v $PWD:/var/www/files \
    elboletaire/angular-filemanager

Using docker-compose (take a look to the one provided in this repo):

docker-compose up -d
⁠About bridges

For now there's only the php-local bridge implemented (see configuration-php-local.js⁠ for details).

If you want to implement your own bridge implementation just copy the existing file and rename it following the schema configuration-${BRIDGE}.

After you've created your own bridge implementation, and have rebuilt the docker image, just define it with the environment var BRIDGE:

docker run -d -p 8080:80 \
    -e BRIDGE=my-bridge-implementation \
    -v $PWD:/var/www/files \
    elboletaire/angular-filemanager

This would require a configuration file named configuration-my-bridge-implementation.js.

⁠TODO

  • Use entrypoint.sh to define php.ini values.
  • Use entrypoint.sh to define the current user (now is forced to uid/gid 1000).
  • Use entrypoint.sh in conjunction with env vars to define angular-filemanager configuration options.

⁠Credits & License

All the credits for the manager go for the angular-filemanager⁠ developers; I've just created a dockerfile for my own needs.

This Dockerfile is licensed under the GNU-GPL 3.0 license⁠, whilst the code for the angular-filemanager has its own MIT license⁠.

Tag summary

Content type

Image

Digest

Size

195.4 MB

Last updated

almost 9 years ago

docker pull elboletaire/angular-filemanager