title: Docker搭建轻量个人文件分享服务-文件传输自由
tags: [Docker,文件分享,下载,分享,网盘,Pingvin Share,NAS]
新版原文: https://query.carlzeng.top:3/appsearch?q=Docker搭建轻量个人文件分享服务-文件传输自由
版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!
date: 2023-12-23 09:40:00
categories: Docker
临时小文件分享,远程文件传输,自建网盘
开放文件临时分享:https://cn.carlzeng.top/fileupd
2024.1.2 转化方案到Alist
有什么用
临时小文件分享,远程文件传输,脱离网盘
怎么用
Docker搭建轻量个人文件分享服务-文件传输自由
专注于文件分享的高颜值轻量小工具
A self-hosted file sharing platform that combines lightness and beauty, perfect for seamless and efficient file sharing.
预览
<iframe frameborder="0" height="500" scrolling="auto" src="https://c.carlzeng.top:4443/fileupd" style="box-shadow: 0 0 20px -10px" width="100%"></iframe>相关内容
<iframe frameborder="0" height="500" scrolling="auto" src="https://query.carlzeng.top:3/appsearch?q=网盘" style="box-shadow: 0 0 20px -10px" width="100%"></iframe>实现方法
version: '3.8'
services:
pingvin-share:
image: stonith404/pingvin-share
restart: unless-stopped
ports:
- 6000:3000
- 6001:3333
volumes:
- "./data:/opt/app/backend/data"
- "./data/images:/opt/app/frontend/public/img"
# - "./data/framework-0c7baedefba6b077.js:/opt/app/frontend/.next/static/chunks/framework-0c7baedefba6b077.js" #个人用于添加matomo统计JS
上面完成端口映射,不知道怎么回事8080端口映射出来是无法访问的。(原来文档有误,看日志,应该是3333端口); 后来又发现只有这个6001也是能正常能使用的(符合日志内容)
开放防火墙允许访问映射出来的端口。
部分日志:
Attaching to pingvin-share_pingvin-share_1
pingvin-share_1 |
pingvin-share_1 | > [email protected] prod
pingvin-share_1 | > prisma migrate deploy && prisma db seed && node dist/src/main
pingvin-share_1 |
pingvin-share_1 | Environment variables loaded from prisma/.env
pingvin-share_1 | Prisma schema loaded from prisma/schema.prisma
pingvin-share_1 | Datasource "db": SQLite database "pingvin-share.db" at "file:../data/pingvin-share.db"
pingvin-share_1 |
pingvin-share_1 | 17 migrations found in prisma/migrations
pingvin-share_1 |
pingvin-share_1 |
pingvin-share_1 | No pending migrations to apply.
pingvin-share_1 | ▲ Next.js 13.5.6
pingvin-share_1 | - Local: http://localhost:3333
pingvin-share_1 | - Network: http://0.0.0.0:3333
pingvin-share_1 |
pingvin-share_1 | ✓ Ready in 3.9s
pingvin-share_1 | Environment variables loaded from prisma/.env
pingvin-share_1 | Running seed command `ts-node prisma/seed/config.seed.ts` ...
pingvin-share_1 |
pingvin-share_1 |
标签:pingvin,prisma,share,文件传输,Docker,分享,轻量
From: https://www.cnblogs.com/backuper/p/17944135