1
0
Fork 0

add filebrowser

This commit is contained in:
Lukáš Kucharczyk 2022-07-10 08:10:58 +02:00
parent 9238bb2c93
commit af25258348
No known key found for this signature in database
1 changed files with 28 additions and 0 deletions

28
file-browser.yml Normal file
View File

@ -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