A dockerized web file manager created using angular-filemanager.
2.6K
A dockerized web file manager created using angular-filemanager.
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
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.
entrypoint.sh to define php.ini values.entrypoint.sh to define the current user (now is forced to uid/gid 1000).entrypoint.sh in conjunction with env vars to define angular-filemanager
configuration options.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.
Content type
Image
Digest
Size
195.4 MB
Last updated
almost 9 years ago
docker pull elboletaire/angular-filemanager