mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 06:14:14 +00:00
examples: simplified filebrowser example (#2266)
This commit is contained in:
parent
98e939d937
commit
b79014e47f
1 changed files with 4 additions and 1 deletions
|
@ -31,10 +31,13 @@ services:
|
|||
depends_on:
|
||||
- init-filebrowser
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
FB_DATABASE: /database/filebrowser.db
|
||||
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
|
||||
- filebrowser-db:/database
|
||||
- ./filebrowser.json:/.filebrowser.json
|
||||
ports:
|
||||
- "25580:80"
|
||||
|
||||
|
|
Loading…
Reference in a new issue