想必很多人每年多多少少都会订阅一些服务,比如流媒体,VPS,软件等,对于开销的费用和到期时间可能自己都记不清楚,wallos专注于管理你的每项订阅费用,分类统计,到期提醒等,让你一目了然。
部署
安装docker
curl -fsSL https://get.docker.com | sh
安装docker-compose
curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
mkdir -p wallos
cd wallos && nano docker-compose.yml
yaml文件内容如下
version: '3.0'
services:
wallos:
container_name: wallos
image: bellamy/wallos:latest
ports:
- "8282:80/tcp"
environment:
TZ: 'Asia/Shanghai'
# Volumes store your data between container upgrades
volumes:
- './db:/var/www/html/db'
- './logos:/var/www/html/images/uploads/logos'
restart: unless-stopped
运行容器
docker-compose up -d
效果展示
反代
server {
listen 80;
server_name 你的域名;
return 301 https://$host$request_uri;
}
server{
listen 443 ssl;
server_name 你的域名;
ssl_certificate /etc/nginx/certs/cert.pem;
ssl_certificate_key /etc/nginx/certs/key.pem;
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 10m;
location / {
proxy_pass http://你的公网地址:8282;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
请参考:Nginx反向代理的简单配置
写在最后
感觉还可以,尤其有了图标之后还是那么回事。如果你的订阅项目比较多,wallos是个不错的选择。