从0搭建seafile出现问题:docker安装

个人系统:如下

      .;cccccccccccccccccccccc;.          OS: Fedora Linux 42 (Sway) x86_64
    .:cccccccccccccccccccccccccc:.        Host: MS-7B89 (2.0)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: Linux 6.15.8-200.fc42.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 5 days, 7 hours, 44 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.    Packages: 2816 (rpm)
,cccccccccccccc;MMM.;cc;;WW:;cccccccc,    Shell: zsh 5.9
:cccccccccccccc;MMM.;cccccccccccccccc:    Display (27G1G4): 1920x1080 @ 144 Hz in 27" [External]
:ccccccc;oxOOOo;MMM000k.;cccccccccccc:    WM: Sway 1.10.1 (Wayland)
cccccc;0MMKxdd:;MMMkddc.;cccccccccccc;    Cursor: Adwaita
ccccc;XMO';cccc;MMM.;cccccccccccccccc'    Terminal: foot 1.22.3
ccccc;MMo;ccccc;MMW.;ccccccccccccccc;     Terminal Font: Noto Sans Mono (12pt)
ccccc;0MNc.ccc.xMMd;ccccccccccccccc;      CPU: AMD Ryzen 5 3600 (12) @ 4.91 GHz
cccccc;dNMWXXXWM0:;cccccccccccccc:,       GPU: AMD Radeon RX 570 Series [Discrete]
cccccccc;.:odl:.;cccccccccccccc:,.        Memory: 9.31 GiB / 15.53 GiB (60%)
ccccccccccccccccccccccccccccc:'.          Swap: 1.24 GiB / 16.00 GiB (8%)
:ccccccccccccccccccccccc:;,..             Disk (/): 26.72 GiB / 60.72 GiB (44%) - ext4
 ':cccccccccccccccc::;,.                  Disk (/home): 1.77 TiB / 1.96 TiB (90%) - ext4
                                          Disk (/mnt_data): 2.03 MiB / 1.79 TiB (0%) - ext4
                                          Local IP (enp34s0): 192.168.50.107/24
                                          Locale: en_US.UTF-8

使用docker compose up后内容如下:

Attaching to seadoc, seafile, seafile-caddy, seafile-mysql, seafile-redis
seafile-redis  | 10:C 29 Nov 2025 08:18:29.319 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
seafile-redis  | 10:C 29 Nov 2025 08:18:29.319 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
seafile-redis  | 10:C 29 Nov 2025 08:18:29.319 * Redis version=8.4.0, bits=64, commit=00000000, modified=1, pid=10, just started
seafile-redis  | 10:C 29 Nov 2025 08:18:29.319 * Configuration loaded
seafile-redis  | 10:M 29 Nov 2025 08:18:29.320 * Increased maximum number of open files to 10032 (it was originally set to 1024).
seafile-redis  | 10:M 29 Nov 2025 08:18:29.320 * monotonic clock: POSIX clock_gettime
seafile-redis  | 10:M 29 Nov 2025 08:18:29.320 * Running mode=standalone, port=6379.
seafile-redis  | 10:M 29 Nov 2025 08:18:29.321 * Server initialized
seafile-redis  | 10:M 29 Nov 2025 08:18:29.360 * Loading RDB produced by version 8.4.0
seafile-redis  | 10:M 29 Nov 2025 08:18:29.360 * RDB age 3610 seconds
seafile-redis  | 10:M 29 Nov 2025 08:18:29.360 * RDB memory usage when created 0.97 Mb
seafile-redis  | 10:M 29 Nov 2025 08:18:29.360 * Done loading RDB, keys loaded: 2, keys expired: 0.
seafile-redis  | 10:M 29 Nov 2025 08:18:29.360 * DB loaded from disk: 0.039 seconds
seafile-redis  | 10:M 29 Nov 2025 08:18:29.360 * Ready to accept connections tcp
seafile-mysql  | 2025-11-29 08:18:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.15+maria~ubu2204 started.
seafile-mysql  | 2025-11-29 08:18:29+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
seafile-mysql  | 2025-11-29 08:18:29+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
seafile-mysql  | 2025-11-29 08:18:29+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.15+maria~ubu2204 started.
seafile-mysql  | 2025-11-29 08:18:29+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
seafile-mysql  | 2025-11-29  8:18:29 0 [Note] Starting MariaDB 10.11.15-MariaDB-ubu2204 source revision cb0d6dd835023a7162ace471cd047161f205dd58 server_uid qB2a0erjVrJr6BaP7fwi6hnsLQU= as process 1
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Number of transaction pools: 1
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile-mysql  | 2025-11-29  8:18:30 0 [Warning] mariadbd: io_uring_queue_init() failed with EPERM: sysctl kernel.io_uring_disabled has the value 2, or 1 and the user of the process is not a member of sysctl kernel.io_uring_group. (see man 2 io_uring_setup).
seafile-mysql  | create_uring failed: falling back to libaio
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Using Linux native AIO
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: innodb_buffer_pool_size_max=128m, innodb_buffer_pool_size=128m
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: End of log at LSN=1204709
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: log sequence number 1204709; transaction id 817
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile-mysql  | 2025-11-29  8:18:30 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] Server socket created on IP: '0.0.0.0', port: '3306'.
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] Server socket created on IP: '::', port: '3306'.
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] mariadbd: ready for connections.
seafile-mysql  | Version: '10.11.15-MariaDB-ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
seafile-caddy  | {"level":"info","ts":1764404310.0586996,"logger":"docker-proxy","msg":"Running caddy proxy server"}
seafile-caddy  | {"level":"info","ts":1764404310.06014,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
seafile-caddy  | {"level":"info","ts":1764404310.0603945,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
seafile-caddy  | {"level":"info","ts":1764404310.060401,"logger":"docker-proxy","msg":"Running caddy proxy controller"}
seafile-caddy  | {"level":"info","ts":1764404310.061737,"logger":"docker-proxy","msg":"Start","CaddyfilePath":"","EnvFile":"","LabelPrefix":"caddy","PollingInterval":30,"ProxyServiceTasks":true,"ProcessCaddyfile":true,"ScanStoppedContainers":false,"IngressNetworks":"[seafile-net]","DockerSockets":[""],"DockerCertsPath":[""],"DockerAPIsVersion":[""]}
seafile-caddy  | {"level":"info","ts":1764404310.0623984,"logger":"docker-proxy","msg":"Connecting to docker events","DockerSocket":""}
seafile-caddy  | {"level":"info","ts":1764404310.0626826,"logger":"docker-proxy","msg":"IngressNetworksMap","ingres":"map[ab7ee760cf52acab6b93e2dfae9d1a978c58e41bd6ccb24a72892d87c98afe07:true seafile-net:true]"}
seafile-caddy  | {"level":"info","ts":1764404310.0703366,"logger":"docker-proxy","msg":"Swarm is available","new":false}
seafile-caddy  | {"level":"info","ts":1764404310.0722752,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"# Empty caddyfile"}
seafile-caddy  | {"level":"warn","ts":1764404310.0725439,"logger":"docker-proxy","msg":"Caddyfile to json warning","warn":"[Caddyfile:1: Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies]"}
seafile-caddy  | {"level":"info","ts":1764404310.072549,"logger":"docker-proxy","msg":"New Config JSON","json":"{}"}
seafile-caddy  | {"level":"info","ts":1764404310.072563,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
seafile-caddy  | {"level":"info","ts":1764404310.0730596,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"49472","headers":{"Accept-Encoding":["gzip"],"Content-Length":["41"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
seafile-caddy  | {"level":"info","ts":1764404310.0730896,"msg":"config is unchanged"}
seafile-caddy  | {"level":"info","ts":1764404310.073095,"logger":"admin.api","msg":"load complete"}
seafile-caddy  | {"level":"info","ts":1764404310.073155,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
seafile-mysql  | 2025-11-29  8:18:30 0 [Note] InnoDB: Buffer pool(s) load completed at 251129  8:18:30
seafile-caddy  | {"level":"info","ts":1764404316.716077,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"http://seafiletest.com {\n\t@ws {\n\t\theader Connection *Upgrade*\n\t\theader Upgrade websocket\n\t}\n\treverse_proxy @ws 172.18.0.5:80\n\thandle_path /socket.io/* {\n\t\trewrite * /socket.io{uri}\n\t\treverse_proxy 172.18.0.5:80\n\t}\n\thandle_path /sdoc-server/* {\n\t\trewrite * {uri}\n\t\treverse_proxy 172.18.0.5:80\n\t}\n}\n"}
seafile-caddy  | {"level":"info","ts":1764404316.7169354,"logger":"docker-proxy","msg":"New Config JSON","json":"{\"apps\":{\"http\":{\"servers\":{\"srv0\":{\"listen\":[\":80\"],\"routes\":[{\"match\":[{\"host\":[\"seafiletest.com\"]}],\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"group\":\"group2\",\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"handle\":[{\"handler\":\"rewrite\",\"strip_path_prefix\":\"/sdoc-server\"}]},{\"group\":\"group1\",\"handle\":[{\"handler\":\"rewrite\",\"uri\":\"{http.request.uri}\"}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.5:80\"}]}]}]}],\"match\":[{\"path\":[\"/sdoc-server/*\"]}]},{\"group\":\"group2\",\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"handle\":[{\"handler\":\"rewrite\",\"strip_path_prefix\":\"/socket.io\"}]},{\"group\":\"group0\",\"handle\":[{\"handler\":\"rewrite\",\"uri\":\"/socket.io{http.request.uri}\"}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.5:80\"}]}]}]}],\"match\":[{\"path\":[\"/socket.io/*\"]}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.5:80\"}]}],\"match\":[{\"header\":{\"Connection\":[\"*Upgrade*\"],\"Upgrade\":[\"websocket\"]}}]}]}],\"terminal\":true}]}}}}}"}
seafile-caddy  | {"level":"info","ts":1764404316.7169697,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
seafile-caddy  | {"level":"info","ts":1764404316.7173028,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"49472","headers":{"Accept-Encoding":["gzip"],"Content-Length":["1032"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
seafile-caddy  | {"level":"info","ts":1764404316.7181776,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
seafile-caddy  | {"level":"warn","ts":1764404316.718295,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
seafile-caddy  | {"level":"info","ts":1764404316.7183578,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0006fea00"}
seafile-caddy  | {"level":"warn","ts":1764404316.7187967,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
seafile-caddy  | {"level":"warn","ts":1764404316.718811,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
seafile-caddy  | {"level":"info","ts":1764404316.7188141,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
seafile-caddy  | {"level":"info","ts":1764404316.7189271,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
seafile-caddy  | {"level":"info","ts":1764404316.7189324,"logger":"admin.api","msg":"load complete"}
seafile-caddy  | {"level":"info","ts":1764404316.719047,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
seafile-caddy  | {"level":"info","ts":1764404316.7201123,"logger":"admin","msg":"stopped previous server","address":"localhost:2019"}
seafile-caddy  | {"level":"info","ts":1764404316.726786,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"a9e803d2-c85e-4daf-b3fa-25a7732f14f9","try_again":1764490716.726785,"try_again_in":86399.99999964}
seafile-caddy  | {"level":"info","ts":1764404316.7268372,"logger":"tls","msg":"finished cleaning storage units"}
seafile        | *** Running /etc/my_init.d/01_create_data_links.sh...
seafile-caddy  | {"level":"info","ts":1764404317.0920212,"logger":"docker-proxy","msg":"New Caddyfile","caddyfile":"http://seafiletest.com {\n\t@ws {\n\t\theader Connection *Upgrade*\n\t\theader Upgrade websocket\n\t}\n\treverse_proxy @ws 172.18.0.5:80\n\thandle_path /socket.io/* {\n\t\trewrite * /socket.io{uri}\n\t\treverse_proxy 172.18.0.5:80\n\t}\n\thandle_path /sdoc-server/* {\n\t\trewrite * {uri}\n\t\treverse_proxy 172.18.0.5:80\n\t}\n\treverse_proxy 172.18.0.6:80\n}\n"}
seafile-caddy  | {"level":"info","ts":1764404317.0925567,"logger":"docker-proxy","msg":"New Config JSON","json":"{\"apps\":{\"http\":{\"servers\":{\"srv0\":{\"listen\":[\":80\"],\"routes\":[{\"match\":[{\"host\":[\"seafiletest.com\"]}],\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"group\":\"group2\",\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"handle\":[{\"handler\":\"rewrite\",\"strip_path_prefix\":\"/sdoc-server\"}]},{\"group\":\"group1\",\"handle\":[{\"handler\":\"rewrite\",\"uri\":\"{http.request.uri}\"}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.5:80\"}]}]}]}],\"match\":[{\"path\":[\"/sdoc-server/*\"]}]},{\"group\":\"group2\",\"handle\":[{\"handler\":\"subroute\",\"routes\":[{\"handle\":[{\"handler\":\"rewrite\",\"strip_path_prefix\":\"/socket.io\"}]},{\"group\":\"group0\",\"handle\":[{\"handler\":\"rewrite\",\"uri\":\"/socket.io{http.request.uri}\"}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.5:80\"}]}]}]}],\"match\":[{\"path\":[\"/socket.io/*\"]}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.5:80\"}]}],\"match\":[{\"header\":{\"Connection\":[\"*Upgrade*\"],\"Upgrade\":[\"websocket\"]}}]},{\"handle\":[{\"handler\":\"reverse_proxy\",\"upstreams\":[{\"dial\":\"172.18.0.6:80\"}]}]}]}],\"terminal\":true}]}}}}}"}
seafile-caddy  | {"level":"info","ts":1764404317.0925796,"logger":"docker-proxy","msg":"Sending configuration to","server":"localhost"}
seafile-caddy  | {"level":"info","ts":1764404317.0931137,"logger":"admin.api","msg":"received request","method":"POST","host":"localhost:2019","uri":"/load","remote_ip":"127.0.0.1","remote_port":"49486","headers":{"Accept-Encoding":["gzip"],"Content-Length":["1112"],"Content-Type":["application/json"],"User-Agent":["Go-http-client/1.1"]}}
seafile-caddy  | {"level":"info","ts":1764404317.0937338,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]}
seafile-caddy  | {"level":"warn","ts":1764404317.0938015,"logger":"http.auto_https","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
seafile-caddy  | {"level":"warn","ts":1764404317.0942092,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
seafile-caddy  | {"level":"warn","ts":1764404317.0942163,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
seafile-caddy  | {"level":"info","ts":1764404317.0942192,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
seafile-caddy  | {"level":"info","ts":1764404317.0942247,"logger":"http","msg":"servers shutting down with eternal grace period"}
seafile-caddy  | {"level":"info","ts":1764404317.0943305,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
seafile-caddy  | {"level":"info","ts":1764404317.0943356,"logger":"admin.api","msg":"load complete"}
seafile-caddy  | {"level":"info","ts":1764404317.09439,"logger":"docker-proxy","msg":"Successfully configured","server":"localhost"}
seafile-caddy  | {"level":"info","ts":1764404317.0954404,"logger":"admin","msg":"stopped previous server","address":"localhost:2019"}
seadoc         | *** Running /etc/my_init.d/01_init.sh...
seadoc         | *** Booting runit daemon...
seadoc         | *** Runit started as PID 12
seadoc         | *** Running /scripts/enterpoint.sh...
seafile        | *** Booting runit daemon...
seafile        | *** Runit started as PID 15
seafile        | *** Running /scripts/enterpoint.sh...
seadoc         | 2025-11-29 16:18:37 Nginx ready 
seadoc         | 2025-11-29 16:18:37 This is an idle script (infinite loop) to keep container running. 
seafile        | 2025-11-29 16:18:37 Waiting Nginx 
seafile        | nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored
seafile        | 2025-11-29 16:18:38 Nginx ready 
seafile        | 2025-11-29 16:18:38 This is an idle script (infinite loop) to keep container running. 
seafile        | nginx: [warn] conflicting server name "" on 0.0.0.0:80, ignored
seafile        | [2025-11-29 16:18:38] Skip running setup-seafile-mysql.py because there is existing seafile-data folder.
seafile        | 
seadoc         | sdoc-server started
seadoc         | 
seadoc         | [2025-11-29 16:18:38] Start Monitor 
seafile        | Starting seafile server, please wait ...
seafile        | Seafile server started
seafile        | 
seafile        | Done.
seafile        | 
seafile        | Starting seahub at port 8000 ...
seadoc         | server is serve on http://127.0.0.1:7070
seafile        | 
seafile        | Seahub is started
seafile        | 
seafile        | Done.
seafile        | 

个人能力不足,请求大佬能告诉下哪里出来问题 :).
参考的链接:seafile-manual-cn

my bad.我没在.env配置服务器域名.看了半天log…