onenav导航

1pannel部署onenav导航容器编排模板

networks:
    1panel-network:
        external: true
services:
    onenav:
        container_name: onenav
        image: helloz/onenav:latest
        labels:
            createdBy: Apps
        networks:
            - 1panel-network
        ports:
            - 127.0.0.1:{port}:80
        environment:
            - TZ=Asia/Shanghai
        volumes:
            - {完整路径}:/data/wwwroot/default/data
        restart: unless-stopped
version: "3"
  • {port}改为实际使用的端口;

  • {完整路径}改为数据存储的全路径。