Docker compose部署貌似成功了但是无法访问服务器,请大佬帮看看yml文件

就是抄的官方模版的,小白一名,也不知道有没有抄对。。。

yml文件放在/opt目录下,docker-compose up之后没有报错

我不想使用https所以删掉了443端口那一行,这个应该没影响吧?

部署完后我从网页访问http://192.168.50.90会自动把我指向https,然后就无法访问

求解:pray:

services:
  db:
    image: mariadb:10.11
    container_name: seafile-mysql
    environment:
      - MYSQL_ROOT_PASSWORD=xb123
      - MYSQL_LOG_CONSOLE=true
      - MARIADB_AUTO_UPGRADE=1
    volumes:
      - /opt/seafile-mysql/db:/var/lib/mysql
    networks:
      - seafile-net

  memcached:
    image: memcached:1.6.18
    container_name: seafile-memcached
    entrypoint: memcached -m 256
    networks:
      - seafile-net

  seafile:
    image: seafileltd/seafile-mc:12.0-latest
    container_name: seafile
    ports:
      - "80:80"
    volumes:
      - /opt/seafile-data:/shared
    environment:
      - DB_HOST=db
      - DB_ROOT_PASSWD=xb123
      - TIME_ZONE=Asia/Shanghai
      - SEAFILE_ADMIN_EMAIL=aaa@qq.com
      - SEAFILE_ADMIN_PASSWORD=asecret
      - SEAFILE_SERVER_HOSTNAME=192.168.50.90
      - SEAFILE_SERVER_LETSENCRYPT=false
      - FORCE_HTTPS_IN_CONF=false
    depends_on:
      - db
      - memcached
    networks:
      - seafile-net

networks:
  seafile-net:

额。。。我按论坛里12版本测试的那个帖子里的英文安装教程重新安装后,就可以了,就先暂时这样吧