docker部署JmalCloud私有网盘 —— 筑梦之路

admin2024-04-03  0

 JmalCloud特性

使用场景

安装部署

git clone --depth=1 https://gitee.com/jmal/jmal-cloud-server.git 

cd jmal-cloud-server 

# 一键安装

./jc.sh install 

# 更新

/jc.sh pull 
./jc.sh update 

# 访问

http://192.168.100.100:7070

 

# docker方式部署

docker pull  registry.cn-guangzhou.aliyuncs.com/jmalcloud/jmalcloud:2.2.35 

# 创建必要目录

mkdir -p /data/jmalcloud  && cd /data/jmalcloud 

# docker run

docker run \ 
--restart=always \ 
--name jmalcloud \ 
-p 9070:80 \ 
-p 9071:8080 \ 
-p 9072:8088 \ 
-p 27017:27017 \ 
-v /data/jmalcloud/files/:/jmalcloud/files/ \ 
-v /data/jmalcloud/db/:/data/db/ \ 
-d registry.cn-guangzhou.aliyuncs.com/jmalcloud/jmalcloud:2.2.35 

# docker-compose方式

version: '3' 
services: 
  jmalcloud: 
    image: registry.cn-guangzhou.aliyuncs.com/jmalcloud/jmalcloud:2.2.35 
    restart: always 
    ports: 
      - 9070:80 
      - 9071:8080 
      - 9072:8088 
      - 27017:27017 
    volumes: 
      - /data/jmalcloud/files/:/jmalcloud/files/ 
      - /data/jmalcloud/db/:/data/db/ 

docker compose up -d 
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明原文出处。如若内容造成侵权/违法违规/事实不符,请联系SD编程学习网:675289112@qq.com进行投诉反馈,一经查实,立即删除!