This change updates the server default bind to 127.0.0.1 for safer local-only access while documenting how to expose the Web UI via --bind 0.0.0.0 --auth for remote or Docker use. It also removes the previous restriction that blocked first-time admin bootstrap on non-loopback addresses, allowing authenticated remote initialization and bumping the workspace version to 1.2.4.
12 lines
358 B
YAML
12 lines
358 B
YAML
version: '3'
|
|
services:
|
|
biliup:
|
|
image: ghcr.io/biliup/caution:latest
|
|
container_name: biliup
|
|
restart: unless-stopped
|
|
ports:
|
|
- "<HOST_ADDRESS>:<HOST_PORT>:19159"
|
|
volumes:
|
|
- /path/to/save_folder:/opt
|
|
# 容器内必须监听 0.0.0.0,否则上面的端口映射无法转发进容器
|
|
command: server --bind 0.0.0.0 --auth |