docker pull b4bz/homer:latest
compose.yaml:
services:
homer:
container_name: homer
image: b4bz/homer:latest
restart: unless-stopped
hostname: homer
ports:
- 5002:8080
volumes:
- $PWD/config:/www/assets
networks:
- default
environment:
- INIT_ASSETS=1
networks:
default:
external: true
name: shared_default
修改$PWD/config/config.yaml文件,完成自己主页的配置。