Skip to content

Commit

Permalink
fixing filebrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
SamPIngram committed Sep 14, 2023
1 parent 2db56e1 commit 292d24f
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
1 change: 0 additions & 1 deletion applications/filebrowser/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: "3"
services:
filebrowser:
image: ghcr.io/sampingram/csc-filebrowser:latest
user: 1000:1000
ports:
- ${PORT}:80
volumes:
Expand Down
4 changes: 2 additions & 2 deletions docker/filebrowser/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
From filebrowser/filebrowser:latest
FROM filebrowser/filebrowser:latest

COPY docker_config.json /.filebrowser.json
COPY docker_config.json /.filebrowser.json
18 changes: 18 additions & 0 deletions docker/filebrowser/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "3"

services:
filebrowser:
image: fb
ports:
- ${PORT}:80
volumes:
- /var/lib/docker/volumes:/data
- instance-storage:/config
environment:
- FB_BASEURL=/filebrowser
restart: always

volumes:
instance-storage:
external: false
name: filebrowser
4 changes: 2 additions & 2 deletions docker/filebrowser/docker_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"baseURL": "",
"address": "",
"log": "stdout",
"database": "/database.db",
"root": "/srv"
"database": "data/database.db",
"root": "/data"
}

0 comments on commit 292d24f

Please sign in to comment.