mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-01-23 12:14:17 +00:00
1.1 KiB
1.1 KiB
FileRun
Mobile apps are just webdav clients.
docker-compose.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