Pingvin Share 是自托管文件共享平台,是 WeTransfer 的替代方案。
// 1) 低版本 Docker 安装
yum install docker -y
----
// < '推荐' >
// 2) 高版本 Docker 安装
curl -fsSL https://get.docker.com/ | sh
----
// 关闭防火墙
systemctl disable --now firewalld
setenforce 0
// 启用 Docker
systemctl enable --now docker
----
// 3) 安装 Docker-Compose
curl -L https://github.com/docker/compose/releases/download/v2.2.2/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose -v
systemctl status docker
docker compose version
docker pull stonith404/pingvin-share
docker run -d --name pingvin --restart always -p 3000:3000 -v /docker/pingvin/data:/opt/app/backend/data stonith404/pingvin-share
mkdir -p /docker/pingvin && cd /docker/pingvin/
[root@blog pingvin] vim docker-compose.yaml
version: '3.8'
services:
pingvin-share:
image: stonith404/pingvin-share
container_name: pingvin
restart: unless-stopped
ports:
- 3000:3000
volumes:
- "/docker/pingvin/data:/opt/app/backend/data"
docker compose up -d
docker compose ps
http://192.168.80.8:3000/
大功告成~