当前位置: 首页 > news >正文

网站开发公司云鲸互创实惠九州娱乐官方网站怎么做代理

网站开发公司云鲸互创实惠,九州娱乐官方网站怎么做代理,服装网站建设费用,wordpress与drupal本文是为了解决网友 赵云遇到的问题#xff0c;顺便折腾的。虽然软件跑起来了#xff0c;但是他遇到的问题#xff0c;超出了老苏的认知。当然最终问题还是得到了解决#xff0c;不过与 LibrePhotos 无关#xff1b; 什么是 LibrePhotos ? LibrePhotos 是一个自托管的开源… 本文是为了解决网友 赵云遇到的问题顺便折腾的。虽然软件跑起来了但是他遇到的问题超出了老苏的认知。当然最终问题还是得到了解决不过与 LibrePhotos 无关 什么是 LibrePhotos ? LibrePhotos 是一个自托管的开源照片管理和共享平台。它旨在提供一个类似于商业化照片服务的功能但用户可以完全控制自己的数据并在自己的服务器上存储照片。 什么是 UhuruPhotos UhuruPhotos 是一款功能齐全使用 Jetpack Compose和最新的 android 技术编写的 LibrePhotos android 客户端。它借鉴了 Google Photos 的很多想法旨在成为功能齐全的相册替代品包括离线支持、备份和同步等功能。 安装 在群晖上以 Docker 方式安装。 docker-compose.yml 将下面的内容保存为 docker-compose.yml 文件 源文件来自https://github.com/LibrePhotos/librephotos-docker/blob/main/docker-compose.yml老苏只修改了 container_name # DO NOT EDIT # The .env file has everything you need to edit. # Run options: # 1. Use prebuilt images (preferred method): # run cmd: docker-compose up -d # 2. Build images on your own machine: # build cmd: COMPOSE_DOCKER_CLI_BUILD1 DOCKER_BUILDKIT1 docker-compose build # run cmd: docker-compose up -dversion: 3.8 services:proxy:image: reallibrephotos/librephotos-proxy:${tag}container_name: librephotos-proxyrestart: unless-stoppedvolumes:- ${scanDirectory}:/data- ${data}/protected_media:/protected_mediaports:- ${httpPort}:80depends_on:- backend- frontenddb:image: postgres:13container_name: librephotos-dbrestart: unless-stoppedenvironment:- POSTGRES_USER${dbUser}- POSTGRES_PASSWORD${dbPass}- POSTGRES_DB${dbName}volumes:- ${data}/db:/var/lib/postgresql/datacommand: postgres -c fsyncoff -c synchronous_commitoff -c full_page_writesoff -c random_page_cost1.0healthcheck:test: psql -U ${dbUser} -d ${dbName} -c SELECT 1;interval: 5stimeout: 5sretries: 5frontend:image: reallibrephotos/librephotos-frontend:${tag}container_name: librephotos-frontendrestart: unless-stoppedbackend:image: reallibrephotos/librephotos:${tag}container_name: librephotos-backendrestart: unless-stoppedvolumes:- ${scanDirectory}:/data- ${data}/protected_media:/protected_media- ${data}/logs:/logs- ${data}/cache:/root/.cacheenvironment:- SECRET_KEY${shhhhKey:-}- BACKEND_HOSTbackend- ADMIN_EMAIL${adminEmail:-}- ADMIN_USERNAME${userName:-}- ADMIN_PASSWORD${userPass:-}- DB_BACKENDpostgresql- DB_NAME${dbName}- DB_USER${dbUser}- DB_PASS${dbPass}- DB_HOST${dbHost}- DB_PORT5432- MAPBOX_API_KEY${mapApiKey:-}- WEB_CONCURRENCY${gunniWorkers:-1}- SKIP_PATTERNS${skipPatterns:-}- ALLOW_UPLOAD${allowUpload:-false}- CSRF_TRUSTED_ORIGINS${csrfTrustedOrigins:-}- DEBUG0- HEAVYWEIGHT_PROCESS${HEAVYWEIGHT_PROCESS:-}depends_on:db:condition: service_healthy一共用到了 4 个镜像其中 reallibrephotos/librephotos-proxy 反向代理服务reallibrephotos/librephotos后端服务reallibrephotos/librephotos-frontend 前端页面 以上 3 个镜像 latest 对应的版本均为 2023w31 postgres:13数据库服务 env.txt 将下面的内容保存为 env.txt 文件 源文件来自https://github.com/LibrePhotos/librephotos-docker/blob/main/librephotos.env请根据自己的环境进行修改 # This file contains all the things you need to change to set up your Libre Photos. # There are a few items that must be set for it to work such as the location of your photos. # After the mandatory entries there are some optional ones that you may set. # Start of mandatory changes. # Location of your photos. scanDirectory./librephotos/pictures# Internal data of LibrePhotos data./librephotos/data# ------------------------------------------------------------------------------------------------# Wow, we are at the optional now. Pretty easy so far. You do not have to change any of the below.# Set this value if you have a custom domain name. This allows uploads and django-admin access. If you do not have a custom domain name, leave this blank. csrfTrustedOrigins#What port should Libre Photos be accessed at (Default 3000) httpPort3068# What branch should we install the latest weekly build or the development branch (dev) taglatest# Number of workers, which take care of the request to the api. This setting can dramatically affect the ram usage. # A positive integer generally in the 2-4 x $(NUM_CORES) range. # You’ll want to vary this a bit to find the best for your particular workload. # Each worker needs 800MB of RAM. Change at your own will. Default is 2. gunniWorkers2# You can set the database name. Did you know Libre Photos was forked from OwnPhotos? dbNamelibrephotos# Here you can change the user name for the database. dbUserdocker# The password used by the database. dbPassAaAa1234# Default minimum rating to interpret as favorited. This default value is used when creating a new user. # Users can change this in their settings (Dashboards Library). DEFAULT_FAVORITE_MIN_RATING4# Database host. Only change this if you want to use your own existing Postgres server. If using your own server, you can remove the db container from docker-compose.yml. If youre changing the name of the DBs container name (DB_CONT_NAME further down), you need to set this variable to match that name too. dbHostdb# Set the names of the docker containers to your own entries. Or dont, Im not your dad. # Changing these will require you to make rename to rename the services, and start the system with your chosen docker-compose up -d invocation again. # Note that changing the DB_CONT_NAME will also need you to set the dbHost variable to the same value. DB_CONT_NAMEdb BACKEND_CONT_NAMEbackend FRONTEND_CONT_NAMEfrontend PROXY_CONT_NAMEproxy PGADMIN_CONT_NAMEpgadmin # ---------------------------------------------------------------------------------------------# If you are not a developer ignore the following parameters: you will never need them.# Where shall we store the backend and frontend code files. codedir./librephotos/code# Location for pgAdmin pgAdminLocation./librephotos/pgadmin相比源文件老苏修改了 3处 scanDirectory从 ./librephotos/pictures 修改为了 ./picturesdata从 ./librephotos/data 修改为了 ./datahttpPort从 3000 修改为了 3068这个只要不冲突就行 其他参数除了 dbPass 可以按需要修改外其他的直接用默认值就可以除非你清楚每个参数的用途 如果执行时遇到下面的错误请用 UTF-8 格式保存 env.txt 文件 然后执行下面的命令 # 新建文件夹 librephotos 和 子目录 mkdir -p /volume1/docker/librephotos/{data/{cache,db,logs,protected_media},pictures}# 进入 librephotos 目录 cd /volume1/docker/librephotos# 将 docker-compose.yml 和 env.txt 放入当前目录# 一键启动 docker-compose --env-file env.txt up -d目录结构 运行 在浏览器中输入 http://群晖IP:3068 第一次会看到注册页面 然后需要登录 登录成功后的主界面 需要点 Edit User 按钮来设置路径直接点击下面的 data 或者直接输入 /data点 Save 保存即可 右下角会提示开始扫描 鼠标移到右上角的红点可以看到照片处理进度 变成绿色时表示已处理完成 虽然支持 AI但期望值不要太高了 android 客户端 这是一个第三方的移动客户端下载地址https://github.com/savvasdalkitsis/uhuruphotos-android 选择右侧的 Manage media on mypersonal cloud 输入服务器地址、账号和密码 设置 Allow允许通知 从 Media without date 分类中查看 虽然还处于早期阶段但它已经具备了很多功能例如与 LibrePhotos 服务器定期后台同步等 参考文档 LibrePhotos/librephotos: Self hosted alternative to Google Photos 地址https://github.com/LibrePhotos/librephotos LibrePhotos/librephotos-docker 地址https://github.com/LibrePhotos/librephotos-docker Docker | LibrePhotos 地址https://docs.librephotos.com/docs/installation/standard-install/ UhuruPhotos. A LibrePhotos android client : selfhosted 地址https://www.reddit.com/r/selfhosted/comments/ui5xwi/uhuruphotos_a_librephotos_android_client/ savvasdalkitsis/uhuruphotos-android: A LibrePhotos android client written using Jetpack Compose and all the latest Android technologies 地址https://github.com/savvasdalkitsis/uhuruphotos-android
http://www.yingshimen.cn/news/115958/

相关文章:

  • 技术支持 中山网站建设做网站程序
  • 微信网站建设哪家好做网站还有搞头吗
  • 学校网站建设合同互联网创业项目零成本
  • 自主建站网站做外链选择那些网站
  • 网站参数设定个人做网站可以盈利么
  • 做网站的工具+论坛搜索引擎国外
  • 上海大型网站建设公司南京h5设计公司
  • html5网站用什么软件wordpress媒体库现实不全
  • 淘宝网站建设多少钱宁波网站推广方法
  • 湛江公司网站建设陕西住房与城乡建设厅网站
  • 在线代理的网站商品房建设信息网站
  • 青峰网站建设w微信网站开发
  • 做网站建设个体经营小微企业长沙仿站模板网站建设
  • 用asp.net做后台网站鲜花网站建设
  • 网站诊断内容餐饮吸引客流的活动方案
  • 展示型网站建设的标准asp网站转html
  • 网站市场推广太原搜索引擎推广
  • 武进网站建设怎么样如何检测网站的打开速度
  • 广州微网站建设价位微分销系统价格
  • 书画网站 建站网站不同
  • wordpress建的大型网站上市设计公司网站
  • 做网站会员推广哪个好成立公司需要注意哪些问题
  • 嘉兴cms建站模板整站优化多少钱
  • 小米网站建设项目书wordpress咨询
  • 描述网站建设的基本流程网站图片要多少像素
  • 漳州最便宜的网站建设价格企业seo推广的绝密诀窍曝光
  • 中国建设银行网站登录免费引流推广
  • 网站建设服务优势网站做全好吗
  • 六安官网昆明seocn整站优化
  • 网站备案完成网站开发设计费用