mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-01-23 20:19:11 +00:00
54 lines
1.1 KiB
Markdown
54 lines
1.1 KiB
Markdown
|
# FileRun
|
||
|
Mobile apps are just webdav clients.
|
||
|
|
||
|
<br>
|
||
|
|
||
|
- [Homepage](https://filerun.com/)
|
||
|
- [DockerHub repo](https://hub.docker.com/r/afian/filerun/)
|
||
|
- [Docs](https://docs.filerun.com/)
|
||
|
- [Demo](https://demo.filerun.co/?username=admin&password=admin)
|
||
|
|
||
|
![Screenshot](filerun.jpg)
|
||
|
|
||
|
|
||
|
## docker-compose.yml
|
||
|
```yml
|
||
|
version: '2'
|
||
|
services:
|
||
|
db:
|
||
|
image: mariadb:10.1
|
||
|
container_name: filerun-db
|
||
|
restart: unless-stopped
|
||
|
environment:
|
||
|
MYSQL_ROOT_PASSWORD: your_mysql_root_password
|
||
|
MYSQL_USER: db_user
|
||
|
MYSQL_PASSWORD: db_user_password_01
|
||
|
MYSQL_DATABASE: filerundb
|
||
|
volumes:
|
||
|
- ./data/db:/var/lib/mysql
|
||
|
|
||
|
web:
|
||
|
image: afian/filerun
|
||
|
container_name: filerun
|
||
|
restart: unless-stopped
|
||
|
environment:
|
||
|
FR_DB_HOST: db
|
||
|
FR_DB_PORT: 3306
|
||
|
FR_DB_NAME: filerundb
|
||
|
FR_DB_USER: db_user
|
||
|
FR_DB_PASS: db_user_password_01
|
||
|
APACHE_RUN_USER: www-data
|
||
|
APACHE_RUN_USER_ID: 33
|
||
|
APACHE_RUN_GROUP: www-data
|
||
|
APACHE_RUN_GROUP_ID: 33
|
||
|
depends_on:
|
||
|
- db
|
||
|
links:
|
||
|
- db:db
|
||
|
ports:
|
||
|
- "3090:80"
|
||
|
volumes:
|
||
|
- ./data/html:/var/www/html
|
||
|
- ./data/user-files:/user-files
|
||
|
```
|