0

(已经完美解决)immich的灵魂拷问——无法访问的immich

发表于:3 天前 Docker 78
本帖最后由 带你逃跑 于 2024-10-18 05:23 编辑


解决方法:把docker-compose.yml文件2283:3001改为2283:2283


感谢Immich交流群 大神开水和白起支持。

感谢a94273825大神的扫盲贴:https://club.fnnas.com/forum.php?mod=viewthread&tid=1825&extra=page%3D1



以下是一开始碰到的问题:

我第一次安装immich就成功了。

然后,我发现immich所有照片都上传到了系统盘,想重新部署下,把upload盘构建到大硬盘上这样空间宽裕。结果第二次构建一直没有成功。已经尝试了不下100次。

docker-compose.yml文件没有修改。env文件内容:仅修改了upload和data路径

# You can find documentation for all the supported env variables at https://immich.app/docs/install/environment-variables


# The location where your uploaded files are stored
UPLOAD_LOCATION=/vol1/1000/photos
# The location where your database files are stored
DB_DATA_LOCATION=/vol1/1000/docker/immich/db


# To set a timezone, uncomment the next line and change Etc/UTC to a TZ identifier from this list: https://en.**.org/wiki/List_of_tz_database_time_zones#List
TZ=Asia/Shanghai


# The Immich version to use. You can pin this to a specific version like "v1.71.0"
IMMICH_VERSION=release


# Connection secret for postgres. You should change it to a random password
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
DB_PASSWORD=postgres


# The values below this line do not need to be changed
###################################################################################
DB_USERNAME=postgres
DB_DATABASE_NAME=immich


第二次构建后,容器启动正常,4个容器日志如下:





就是immich系统访问不了,感谢大神们看到这儿,求解。





收藏
送赞
分享

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

发表回复

评论列表(2)

配置文件没看出啥大问题来,全部推到重来试试
前天 16:19 回复
已经完美解决,感谢Immich开源AI相册交流群,开水和群主白起。是把端口2283:3001改为2283:2283即可  详情 回复
昨天 05:20
已经完美解决,感谢Immich开源AI相册交流群,开水和群主白起。是把端口2283:3001改为2283:2283即可
昨天 05:20 回复
带你逃跑

TA还没有介绍自己~

2

主题

3

回帖

9

积分

江湖小虾

积分
9
话题