A file management interface powered by Angie (NGINX) WebDAV with an admin dashboard, public autoindex directory listing, and recursive search.
/-/dashboard — file management, upload, delete, rename, password change
docker run -it --rm \
-v ./data:/data \
-p 8080:8080 \
yoas1/angie-files:v1.0.1
docker run -it --rm \
-v ./data:/data \
-p 8080:8080 \
-e DIR=secret \
-e USER=myuser \
-e PASS=mypassword \
yoas1/angie-files:v1.0.1
To keep your credentials even after the container is removed and recreated:
# Create a volume for the password file
docker volume create angie-pass
# Run with the volume
docker run -it --rm \
-v ./data:/data \
-v angie-pass:/etc/angie/pass \
-p 8080:8080 \
-e USER=myuser \
-e PASS=mypass \
angie-files:1.0
Note: USER and PASS only take effect on the first container start. After that the file is persisted in the volume and won't be overwritten.
docker run -it --rm \
-v ./data:/data \
-v ./.htpasswd:/etc/angie/pass/.htpasswd \
-p 8080:8080 \
-e DIR=secret \
angie-files:1.0
When mounting a custom .htpasswd file, the USER and PASS env vars are ignored.
services:
angie-files:
build: .
container_name: angie-files
ports:
- "8080:8080"
volumes:
- angie-data:/data
- angie-pass:/etc/angie/pass
environment:
DIR: vault-folder
USER: myuser
PASS: mypassword
volumes:
angie-data:
angie-pass:
Start:
docker compose up -d
http://localhost:8080/-/dashboardhttp://localhost:8080/# Upload a file
curl -u admin:admin -T <myfile.txt> http://localhost:8080/upload/<target-dir>/
# Delete a file
curl -u admin:admin -X DELETE http://localhost:8080/upload/<target-dir>/<file>
# Delete a directory
curl -u admin:admin -X DELETE http://localhost:8080/upload/<target-dir>/<test>/
Via the dashboard sidebar: Change Password
Or directly via the API:
curl -u admin:admin -X POST \
-H "Content-Type: application/json" \
-d '{"new_password": "<new-password>"}' \
http://localhost:8080/api/change-password
| Variable | Default | Description |
|---|---|---|
DIR | vault | Locked directory name (password-protected) |
USER | admin | Default username |
PASS | admin | Default password |
TZ | Asia/Jerusalem | Timezone |
change-password.py)BSD 2-Clause
Content type
Image
Digest
sha256:6ac6a3f0e…
Size
23.8 MB
Last updated
about 2 months ago
docker pull yoas1/angie-files