40 lines
946 B
YAML
Executable File
40 lines
946 B
YAML
Executable File
version: '3'
|
|
|
|
services:
|
|
filerun-mariadb:
|
|
container_name: filerun-mariadb
|
|
hostname: filerun-mariadb
|
|
image: mariadb:10.1
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: 8ung1e1!
|
|
MYSQL_USER: filerun
|
|
MYSQL_PASSWORD: filerun
|
|
MYSQL_DATABASE: filerun
|
|
restart: always
|
|
volumes:
|
|
- /docker/appdata/filerun/db:/var/lib/mysql
|
|
|
|
filerun:
|
|
container_name: filerun
|
|
hostname: filerun
|
|
image: afian/filerun
|
|
environment:
|
|
FR_DB_HOST: filerun-mariadb
|
|
FR_DB_PORT: 3306
|
|
FR_DB_NAME: filerun
|
|
FR_DB_USER: filerun
|
|
FR_DB_PASS: filerun
|
|
APACHE_RUN_USER: www-data
|
|
APACHE_RUN_USER_ID: 33
|
|
APACHE_RUN_GROUP: www-data
|
|
APACHE_RUN_GROUP_ID: 33
|
|
ports:
|
|
- 8087:80
|
|
restart: always
|
|
depends_on:
|
|
- filerun-mariadb
|
|
links:
|
|
- filerun-mariadb:db
|
|
volumes:
|
|
- /docker/appdata/filerun/html:/var/www/html
|
|
- /mnt/hypervhost-03:/user-files |