filerun update

This commit is contained in:
Dziad Borowy 2022-09-27 16:46:07 +01:00
parent eab3a9b3c6
commit 1c6cf6486d

View File

@ -17,7 +17,7 @@
## docker-compose.yml ## docker-compose.yml
```yml ```yml
version: '2' ---
services: services:
db: db:
image: mariadb:10.1 image: mariadb:10.1
@ -29,10 +29,10 @@ services:
MYSQL_PASSWORD: db_user_password_01 MYSQL_PASSWORD: db_user_password_01
MYSQL_DATABASE: filerundb MYSQL_DATABASE: filerundb
volumes: volumes:
- ./data/db:/var/lib/mysql - ./db:/var/lib/mysql
web: filerun:
image: afian/filerun image: filerun/filerun
container_name: filerun container_name: filerun
restart: unless-stopped restart: unless-stopped
environment: environment:
@ -42,8 +42,8 @@ services:
FR_DB_USER: db_user FR_DB_USER: db_user
FR_DB_PASS: db_user_password_01 FR_DB_PASS: db_user_password_01
APACHE_RUN_USER: www-data APACHE_RUN_USER: www-data
APACHE_RUN_USER_ID: 33
APACHE_RUN_GROUP: www-data APACHE_RUN_GROUP: www-data
APACHE_RUN_USER_ID: 33
APACHE_RUN_GROUP_ID: 33 APACHE_RUN_GROUP_ID: 33
depends_on: depends_on:
- db - db
@ -52,14 +52,6 @@ services:
ports: ports:
- "3090:80" - "3090:80"
volumes: volumes:
- ./data/html:/var/www/html - ./html:/var/www/html
- ./data/user-files:/user-files - ./user-files:/user-files
``` ```
## Running
Create the folders first:
```sh
mkdir /data /data/html /data/user-files
```
The default FileRun credentials are: superuser:superuser