networks:
  1panel-network:
    external: true

services:
  astrbot:
    image: soulter/astrbot:v4.18.3
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:6185
      - ${PANEL_APP_PORT_QQ_WH}:6199
      - ${PANEL_APP_PORT_QQ_API}:6196
      - ${PANEL_APP_PORT_WECOM}:6195
      - ${PANEL_APP_PORT_WECHAT}:11451
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${ASTRBOT_ROOT_PATH}:/AstrBot/data
    environment:
      - TZ=Asia/Shanghai
