启动mysql
docker run -p 3366:3306 --name mysql57 --privileged=true -e MYSQL_ROOT_PASSWORD=12345 -v /mnt/docker/varlibmysql:/var/lib/mysql -d liupeng0518/mysql:5.7-arm64
# redis命令docker run -itd --name redis --privileged=true -p 6380:6379 redis --requirepass 245vivid --appendonly yes
启动filerun
docker run -d --name filerun \
-e TZ=Asia/Shanghai \
-e FR_DB_HOST=127.0.0.1 \
-e FR_DB_PORT=3366 \
-e FR_DB_NAME=filerun \
-e FR_DB_USER=root \
-e FR_DB_PASS=12345 \
-e APACHE_RUN_USER=abc \
-e APACHE_RUN_USER_ID=1000 \
-e APACHE_RUN_GROUP=abc \
-e APACHE_RUN_GROUP_ID=1000 \
-p 8001:80 \
-v /mnt/filerun/html:/var/www/html \
-v /mnt/filerun/files:/user-files \
ponte124/filerun:latest-arm64v8