docker-compose.yml
services:
h5ai:
image: awesometic/h5ai:latest
container_name: h5ai
restart: unless-stopped
ports: ["0.0.0.0:60003:80"]
networks:
- ghost_net # 接入内部桥接网络,nginx 反代访问
volumes:
- /www/hermes/guoxin/data/data:/h5ai # 共享文件目录
- ./data/config/h5ai:/config # h5ai 配置(_h5ai/private/conf/options.json)
environment:
- PUID=1000 # 宿主 ghost 用户 UID
- PGID=1000 # 宿主 ghost 用户 GID
- TZ=Asia/Shanghai
networks:
ghost_net:
external: true截图效果
