惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
V
Vulnerabilities – Threatpost
Google Online Security Blog
Google Online Security Blog
Hugging Face - Blog
Hugging Face - Blog
L
LINUX DO - 热门话题
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
Docker
C
Cyber Attacks, Cyber Crime and Cyber Security
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
T
Tenable Blog
P
Privacy International News Feed
Google DeepMind News
Google DeepMind News
小众软件
小众软件
Cisco Talos Blog
Cisco Talos Blog
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
A
Arctic Wolf
C
Cybersecurity and Infrastructure Security Agency CISA
C
Cisco Blogs
T
Threat Research - Cisco Blogs
NISL@THU
NISL@THU
The Hacker News
The Hacker News
Project Zero
Project Zero
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
V
Visual Studio Blog
The GitHub Blog
The GitHub Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
Jina AI
Jina AI
Cyberwarzone
Cyberwarzone
The Register - Security
The Register - Security
C
CXSECURITY Database RSS Feed - CXSecurity.com
Vercel News
Vercel News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
MongoDB | Blog
MongoDB | Blog
U
Unit 42
Scott Helme
Scott Helme
A
About on SuperTechFans
WordPress大学
WordPress大学
F
Fortinet All Blogs
大猫的无限游戏
大猫的无限游戏
G
GRAHAM CLULEY
Latest news
Latest news
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Schneier on Security

Rat's Blog - Docker

使用Searx搭建一个私人的搜索引擎平台,可展现Google/Bing等70多种搜索网站的搜索结果 - Rat's Blog 使用Docker快速安装Poste.io邮件服务器 - Rat's Blog 使用Docker安装Seafile云盘专业版,并配置域名及SSL证书 - Rat's Blog 使用Docker快速安装rTorrent和ruTorrent - Rat's Blog Linux VPS使用Docker快速部署一个CentOS系统容器 - Rat's Blog VPS使用GDList挂载Google Drive和OneDrive网盘,支持多个同时挂载 - Rat's Blog 使用Docker快速安装H5ai网盘、内置HTML5视频播放器DPlayer - Rat's Blog Linux VPS使用Docker快速安装Cloudreve多功能网盘 - Rat's Blog 使用Docker快速安装Aria2+AriaNg+h5ai,可离线BT下载和在线播放 - Rat's Blog
使用Docker快速安装FileRun多功能网盘 - Rat's Blog
博主: Rat's · 2017-12-22 · via Rat's Blog - Docker
  •  发布时间:
  •  28288 次浏览
  •   15 条评论
  •  1507 字数
  • 分类: 主机教程
  1.  首页
  2. 正文  
  3. 分享到:

说明:关于FileRun的安装方法已经说了2种了,分别用宝塔面板和手动编译的方式进行安装,参考:一款强大的多功能网盘和文件管理器:FileRun安装教程,如果只是临时用用的话,感觉就没必要花很长时间来安装了,这时候就可以使用Docker安装,不仅快,还省心,基本几分钟就可以安装完成,这里说下教程。

安装

1、安装Docker和Docker Compose

#安装Docker
curl -sSL https://get.docker.com/ | sh
#安装Docker Compose
curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

2、安装FileRun镜像

docker pull afian/filerun

3、配置yml文件
建立docker-compose.yml文件,并使用默认的配置即可。

#以下是一整个命令,一起复制运行即可。
echo "version: '2'

services:
  db:
    image: mariadb:10.1
    environment:
      MYSQL_ROOT_PASSWORD: filerun
      MYSQL_USER: filerun
      MYSQL_PASSWORD: filerun
      MYSQL_DATABASE: filerun
    volumes:
      - /filerun/db:/var/lib/mysql

  web:
    depends_on:
      - db
    links:
      - db
    image: afian/filerun
    ports:
      - "80:80"
    volumes:
      - /filerun/html:/var/www/html
      - /filerun/user-files:/user-files" > /root/docker-compose.yml

4、启动FileRun

docker-compose up -d

这时候就可以通过http://IP访问了,用户名和密码都是superuser,第一次登录后会要你修改账号,密码等信息。
请输入图片描述
请输入图片描述


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/454/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。