name: bjd-maxkb services: maxkb: image: 1panel/maxkb:latest container_name: bjd-maxkb restart: unless-stopped ports: - "${MAXKB_PORT:-9999}:8080" extra_hosts: - "host.docker.internal:host-gateway" volumes: - ${MAXKB_DATA_DIR:-${HOME}/.maxkb}:/var/lib/postgresql/data - ${MAXKB_PYTHON_PACKAGES_DIR:-${HOME}/.python-packages}:/opt/maxkb/app/sandbox/python-packages