ente教程
官方教程
https://github.com/ente-io/ente/blob/main/server/docs/docker.md
按着步骤走,注意在ente文件夹内创建scripts/compose文件夹,放credentials.yaml和minio-provision.sh,没有的话容器启动会生成空文件夹,也能启动就是配置是完全默认的。

注意:

1,postgres的5432端口被占用:修改compose文件内容,

postgres:
    image: postgres:15
    ports:
      - 5432:5432

这里,改成新端口比如 54321:5432,之后一种是不要修改credentials.yaml文件里的端口。一种是端口和地址一起修改,比如

db:
    host: postgres
    port: 5432
    name: ente_db
    user: pguser
    password: pgpass
改成
db:
    host: 192.168.1.1
    port: 54321
    name: ente_db
    user: pguser
    password: pgpass

2,服务器已经有postgres和minio了可以直接使用。
官方教程说了可以Only the server

Alternatively, if you have setup the database and object storage externally and only want to run Ente's server, you can skip the steps above and directly pull and run the image from ghcr.io/ente-io/server.

docker pull ghcr.io/ente-io/server