networks:
  1panel-network:
    external: true

services:
  bonita:
    image: suwmlee/bonita:0.14.0
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:12346
    volumes:
      - ${BONITA_ROOT_PATH}/data:/app/backend/data
      - ${BONITA_ROOT_PATH}/media:/media
    environment:
      - PUID=0
      - PGID=0
      - TZ=Asia/Shanghai
      - FIRST_SUPERUSER_EMAIL=${FIRST_SUPERUSER_EMAIL}
      - FIRST_SUPERUSER_PASSWORD=${FIRST_SUPERUSER_PASSWORD}
      - MAX_CONCURRENCY=${MAX_CONCURRENCY}
