
9

在OrangePi上安装Lychee进行照片管理
source link: https://www.lujun9972.win/blog/2018/12/08/%E5%9C%A8orangepi%E4%B8%8A%E5%AE%89%E8%A3%85lychee%E8%BF%9B%E8%A1%8C%E7%85%A7%E7%89%87%E7%AE%A1%E7%90%86/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

在OrangePi上安装Lychee进行照片管理
Lychee是一款易用的照片管理应用,可以很方便地用docker来部署, lsioarmhf/lychee-aarch64
就是一个现成的镜像。
不过这个镜像并不包含数据库,因此还需要做一些改造。
创建一个 docker-compose.yml
,填入下面内容:
version: "0.1" services: database: image: mariadb restart: always environment: MYSQL_ROOT_PASSWORD: root volumes: - ./data:/var/lib/mysql lychee-aarch64: image: lsioarmhf/lychee-aarch64 restart: always links: - database ports: - 2080:80 volumes: - ./config:/config - ./pictures:/pictures environment: - PGID=${GID} - PUID=${UID}
然后用下面命令启动服务
GID=${GID} UID=${UDI} docker-compose up -d
启动后访问 http://orangepi:2080
就会进入安装界面了。
安装界面中的数据库主机填写 database
,数据库用户填写 root
,数据库密码也填写 root
.
安装好后就能看到lychee的界面了
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK