networks:
  1panel-network:
    external: true

services:
  baota:
    image: btpanel/baota:10.0_lts
    container_name: ${CONTAINER_NAME}
    labels:
      createdBy: "Apps"
    restart: always
    networks:
      - 1panel-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:8888
      - ${PANEL_APP_PORT_WEB_HTTP}:80
      - ${PANEL_APP_PORT_WEB_HTTPS}:443
      - ${PANEL_APP_PORT_FTP}:21
      - ${PANEL_APP_PORT_SSH}:22
      - ${PANEL_APP_PORT_MYSQL}:3306
      - ${PANEL_APP_PORT_PHPADMIN}:888
    volumes:
      - ${BAOTA_ROOT_PATH}/wwwroot:/www/wwwroot
      - ${BAOTA_ROOT_PATH}/data:/www/server/data
      - ${BAOTA_ROOT_PATH}/vhost:/www/server/panel/vhost
