-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 864 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (32 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
db:
image: mariadb:12.2
container_name: db
environment:
MARIADB_ROOT_PASSWORD: your_mysql_root_password
MYSQL_USER: your_filerun_username
MYSQL_PASSWORD: your_filerun_password
MYSQL_DATABASE: your_filerun_database
MARIADB_AUTO_UPGRADE: 1
command: --old-mode=NO_PROGRESS_INFO
volumes:
- D:/test/filerun_docker_exp/db:/var/lib/mysql
web:
image: filerun/filerun
user: "99:100"
container_name: filerun
environment:
FR_DB_HOST: db
FR_DB_PORT: 3306
FR_DB_NAME: your_filerun_database
FR_DB_USER: your_filerun_username
FR_DB_PASS: your_filerun_password
depends_on:
- db
links:
- db:db
ports:
- "81:80"
volumes:
- D:/test/filerun_docker_exp/html:/var/www/html
- D:/test/filerun_docker_exp/user-files:/user-files