mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
add filebrowser and filerun
This commit is contained in:
4
examples/filebrowser/README.md
Normal file
4
examples/filebrowser/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# References
|
||||
|
||||
- https://github.com/hurlenko/filebrowser-docker
|
||||
- https://github.com/filebrowser/filebrowser
|
||||
15
examples/filebrowser/docker-compose.yml
Normal file
15
examples/filebrowser/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
filebrowser:
|
||||
image: hurlenko/filebrowser
|
||||
container_name: filebrowser
|
||||
user: 1000:1000 # adjust to your needs
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filebrowser/data:/data
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filebrowser/config:/config
|
||||
environment:
|
||||
- FB_BASEURL=/filebrowser
|
||||
restart: unless-stopped
|
||||
3
examples/filerun/README.md
Normal file
3
examples/filerun/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# References
|
||||
|
||||
- https://github.com/filerun/docker
|
||||
32
examples/filerun/docker-compose.yml
Normal file
32
examples/filerun/docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
db:
|
||||
image: mariadb:10.1
|
||||
container_name: filerun-db
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=your_mysql_root_password
|
||||
- MYSQL_USER=your_filerun_username
|
||||
- MYSQL_PASSWORD=your_filerun_password
|
||||
- MYSQL_DATABASE=your_filerun_database
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filerun/db:/var/lib/mysql
|
||||
|
||||
filerun:
|
||||
image: filerun/filerun
|
||||
container_name: filerun
|
||||
environment:
|
||||
- FR_DB_HOST=db
|
||||
- FR_DB_PORT=3306
|
||||
- FR_DB_USER=your_filerun_username
|
||||
- FR_DB_PASS=your_filerun_password
|
||||
- FR_DB_NAME=your_filerun_database
|
||||
depends_on:
|
||||
- db
|
||||
links:
|
||||
- db:db
|
||||
ports:
|
||||
- 8080:80
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filerun/html:/var/www/html
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/filerun/files:/user-files
|
||||
Reference in New Issue
Block a user