社区版12安装后无法访问

[root@localhost seafile]# docker logs seafile -f
*** Running /etc/my_init.d/01_create_data_links.sh...
*** Booting runit daemon...
*** Runit started as PID 21
*** Running /scripts/enterpoint.sh...
2025-03-25 05:49:36 Nginx ready 
2025-03-25 05:49:36 This is an idle script (infinite loop) to keep container running. 
[2025-03-25 05:49:37] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
[03/25/2025 05:49:37][upgrade]: The container was recreated, start fix the media symlinks
mv: not replacing '/shared/seafile/seahub-data/avatars/default-non-register.jpg'
mv: not replacing '/shared/seafile/seahub-data/avatars/default.png'
mv: not replacing '/shared/seafile/seahub-data/avatars/groups'
[03/25/2025 05:49:37][upgrade]: Done

Starting seafile server, please wait ...
Seafile server started

Done.

Starting seahub at port 8000 ...

Seahub is started

Done.

[root@localhost seafile]# curl -v 127.0.0.1:8000
* About to connect() to 127.0.0.1 port 8000 (#0)
*   Trying 127.0.0.1...
* Connection refused
* Failed connect to 127.0.0.1:8000; Connection refused
* Closing connection 0
curl: (7) Failed connect to 127.0.0.1:8000; Connection refused

[root@localhost seafile]# curl -v 127.0.0.1:8020
* About to connect() to 127.0.0.1 port 8020 (#0)
*   Trying 127.0.0.1...
* Connection refused
* Failed connect to 127.0.0.1:8020; Connection refused
* Closing connection 0
curl: (7) Failed connect to 127.0.0.1:8020; Connection refused
[root@localhost seafile]# 
COMPOSE_FILE='seafile-server.yml,caddy.yml,seadoc.yml'
COMPOSE_PATH_SEPARATOR=','

# Seafile & Basic services

## Images
SEAFILE_IMAGE=seafileltd/seafile-mc:12.0-latest
SEAFILE_DB_IMAGE=mariadb:10.11
SEAFILE_REDIS_IMAGE=redis
SEAFILE_CADDY_IMAGE=lucaslorentz/caddy-docker-proxy:2.9-alpine

## Persistent Storage
SEAFILE_VOLUME=/opt/seafile-data
SEAFILE_MYSQL_VOLUME=/opt/seafile-mysql/db
SEAFILE_CADDY_VOLUME=/opt/seafile-caddy

## Database
SEAFILE_MYSQL_DB_HOST=db
INIT_SEAFILE_MYSQL_ROOT_PASSWORD=123
SEAFILE_MYSQL_DB_USER=seafile
SEAFILE_MYSQL_DB_PASSWORD=123

## Cache
CACHE_PROVIDER=redis # or memcached

### Redis
REDIS_SERVER=redis
REDIS_PORT=6379
REDIS_PASSWORD=

### Memcached
MEMCACHED_SERVER=memcached
MEMCACHED_PORT=11211

## Scheme
SEAFILE_SERVER_HOSTNAME=127.0.0.1
SEAFILE_SERVER_PROTOCOL=http

## Startup parameters
TIME_ZONE=Etc/UTC
JWT_PRIVATE_KEY=123


## Initial variables (can be removed after firstime startup)
INIT_SEAFILE_ADMIN_EMAIL=system
INIT_SEAFILE_ADMIN_PASSWORD=123

# Extension
## SeaDoc service
ENABLE_SEADOC=true
SEADOC_IMAGE=seafileltd/sdoc-server:1.0-latest
SEADOC_VOLUME=/opt/seadoc-data

## Notification server
NOTIFICATION_SERVER_IMAGE=seafileltd/notification-server:12.0-latest
NOTIFICATION_SERVER_VOLUME=/opt/notification-data

这个是我的安装配置的启动脚本,明感的内容替换成123了

这里替换成内网IP地址(类似于192.168..)重启服务后再试下

我试试看
不过是172.17开头是不是
没有看到 192.168 喔
这个是宿主内网IP还是容器的桥接IP

还有我比较好奇的是,为什么普通用户通过命令跑起来之后不能直接访问,是不是你们漏掉了什么关键的提醒环节?