services:
  casdoor:
    image: casbin/casdoor:2.349.0
    container_name: ${CONTAINER_NAME}
    restart: always
    networks:
      - opsmind-network
    ports:
      - ${PANEL_APP_PORT_HTTP}:8000
    environment:
      RUNNING_IN_DOCKER: "true"
      driverName: ${CASDOOR_DRIVER_NAME}
      dataSourceName: ${CASDOOR_DATASOURCE_NAME}
      dbName: ${PANEL_DB_NAME}
    volumes:
      - ./conf:/conf
    labels:
      createdBy: Apps
networks:
  opsmind-network:
    external: true