add filebrowser
This commit is contained in:
parent
9238bb2c93
commit
af25258348
|
@ -0,0 +1,28 @@
|
||||||
|
docker run \
|
||||||
|
-v /path/to/root:/srv \
|
||||||
|
-v /path/to/filebrowser.db:/database/filebrowser.db \
|
||||||
|
-v /path/to/settings.json:/config/settings.json \
|
||||||
|
-e PUID=$(id -u) \
|
||||||
|
-e PGID=$(id -g) \
|
||||||
|
-p 8080:80 \
|
||||||
|
filebrowser/filebrowser:s6
|
||||||
|
|
||||||
|
---
|
||||||
|
version: 3.4
|
||||||
|
services:
|
||||||
|
server:
|
||||||
|
image: filebrowser/filebrowser:s6
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
PUID: 1000
|
||||||
|
PGID: 100
|
||||||
|
volumes:
|
||||||
|
- /database/filebrowser.db:${DOCKER_STORAGE_PATH}/filebrowser/filebrowser.db
|
||||||
|
- /config/settings.json:${DOCKER_STORAGE_PATH}/filebrowser/settings.json
|
||||||
|
- /srv:${DOCKER_STORAGE_PATH}/filebrowser/data
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
ports:
|
||||||
|
- "9999:80"
|
||||||
|
networks:
|
||||||
|
- internal
|
Loading…
Reference in New Issue