官网下载的DOCKER-COMPOSE文件有问题

4833c9cfa6413dbd4b4a9f07d5ea9f6

这是什么意思?

你把下载的 docker-compose.yml 文件中出错的这几行贴一下,然后看一下这个配置文件和 seatable 的版本是否匹配。

version: ‘2.0’
services:
db:
image: mariadb:10.5
container_name: seatable-mysql
environment:

  • MYSQL_ROOT_PASSWORD=PASSWORD # Requested, set the root’s password of MySQL service.
  • MYSQL_LOG_CONSOLE=true
    volumes:
    • /volume1/docker/seatable/mysql-data:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store.
      networks:
    • seatable-net

memcached:
image: memcached:1.5.6
container_name: seatable-memcached
entrypoint: memcached -m 256
networks:
- seatable-net

redis:
image: redis:5.0.7
container_name: seatable-redis
networks:
- seatable-net

seatable:
image: seatable/seatable-developer:latest
container_name: seatable
ports:
- “4480:80”
- “443:443” # If https is enabled, cancel the comment.
volumes:
- /volume1/docker/seatable/seatable-data:/shared # Requested, specifies the path to Seafile data persistent store.
environment:
- DB_HOST=db
- DB_ROOT_PASSWD=PASSWORD # Requested, the value shuold be root’s password of MySQL service.
- SEATABLE_SERVER_LETSENCRYPT=False # Default is False. Whether to use let’s encrypt certificate.
- SEATABLE_SERVER_HOSTNAME=192.168.1.100 # Specifies your host name.
- TIME_ZONE=Asia/Shanghai # Optional, default is UTC. Should be uncomment and set to your local time zone.
depends_on:
- db
- memcached
- redis
networks:
- seatable-net

networks:
seatable-net:

看不出哪里有问题

我看到官方最新的文件是这样的,和你的不同,你确认一下本地的版本和 docker-compose 文件

我大概懂了,文件不一样,版本

能给这个文件的链接吗

这是安装流程 Deploy SeaTable with Docker - Seafile Server