1、创建专属桥接网络

若已创建,可跳过此步骤。

https://www.hcjike.com/archives/tMUqkbKb

2、部署MaxKb服务

创建项目

Compose配置:

services:
  maxkb:
    image: 1panel/maxkb:latest
    container_name: maxkb
    restart: unless-stopped
    ports:
      - 11320:8080
    networks:
      - app_network
    volumes:
      - ./data:/var/lib/postgresql/data
      - ./python-packages:/opt/maxkb/app/sandbox/python-packages
networks:
  app_network:
    external: true

更多信息参考:

https://www.hcjike.com/archives/X1imyATE