mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-04 14:42:17 +00:00
examples: simplified filebrowser example (#2266)
This commit is contained in:
@@ -31,10 +31,13 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- init-filebrowser
|
- init-filebrowser
|
||||||
user: "1000:1000"
|
user: "1000:1000"
|
||||||
|
environment:
|
||||||
|
FB_DATABASE: /database/filebrowser.db
|
||||||
volumes:
|
volumes:
|
||||||
|
# Default FB_ROOT is /srv
|
||||||
|
# In this example, the left-side needs to be the same as /data volume of mc service
|
||||||
- mc-data:/srv
|
- mc-data:/srv
|
||||||
- filebrowser-db:/database
|
- filebrowser-db:/database
|
||||||
- ./filebrowser.json:/.filebrowser.json
|
|
||||||
ports:
|
ports:
|
||||||
- "25580:80"
|
- "25580:80"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user