version: "3.8"

networks:
  1panel-network:
    external: true

services:
  wiseflow:
    image: qyg2297248353/wiseflow:v0.3.0
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    tty: true
    stdin_open: true
    ports:
      - ${PANEL_APP_PORT_HTTP}:8090
      - ${PANEL_APP_PORT_BACKEND}:8077
    env_file:
      - /etc/1panel/envs/global.env
      - ${ENV_FILE:-/etc/1panel/envs/default.env}
    volumes:
      - ${WISEFLOW_ROOT_PATH}/pb_data:/app/pb/pb_data
      - ${WISEFLOW_ROOT_PATH}/data:/app/works_data
    environment:
      - TZ=Asia/Shanghai
      - LANG=zh_CN.UTF-8
      - LC_ALL=zh_CN.UTF-8
      - WS_LOG=verbose
