Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    AI-Studio Server

    AI-Studio Server

    estani
    Established Member

    Hi,

    I have downloaded the linux version, unzip and run successfully the login commands. But when I try to run docker-compose (inside the right folder) I get an error message saying: 
    Can't find a suitable configuration file in this directory or any parent. Are you in the right directory?

    Inside the server folder, there are just three files:

    - bst-bme-aistudio-server

    - LICENSE

    - README.md

    What's going on?
    Am I missing a file or should I run a different command?

    13 REPLIES 13

    BSTRobin
    Community Moderator
    Community Moderator

    Hi estani,

    You could check whether you follow the setup step of the README.md file.

    estani
    Established Member

    Yes, I am. 

    I have authenticated to GHCR but when I try to run 'docker-compose' it says: 
    'Define and run multi-container applications with Docker.'

    If I run docker-compose up it gets:

    'Can't find a suitable configuration file in this directory or any
    parent. Are you in the right directory?

    Supported filenames: docker-compose.yml, docker-compose.yaml, compose.yml, compose.yaml'

     

    BSTRobin
    Community Moderator
    Community Moderator

    Hi estani,

    Which BME AI-Studio server package you used? The latest package was named bme_ai_studio_server_linux_package_08122022.zip on official website.

    The Readme.md file in the bme_ai_studio_server_linux_package_08122022.zip file seems very incomplete.  I need more information.

    Here is what I'm getting:

    export CR_PAT=MYGithubClassicTokenWithReadandWrite
    echo $CR_PAT | docker login ghcr.io -u MyGitHubID --password-stdin

    Login Succeeded

    root@dockerserv:~# cd bst-bme-aistudio-server-linux-v1.1.2/
    root@dockerserv:~/bst-bme-aistudio-server-linux-v1.1.2# PGUSER=aistudio
    root@dockerserv:~/bst-bme-aistudio-server-linux-v1.1.2# PGPASSWORD=sEcr3t
    root@dockerserv:~/bst-bme-aistudio-server-linux-v1.1.2# PGDATAPATH=./pgdata
    root@dockerserv:~/bst-bme-aistudio-server-linux-v1.1.2# docker-compose up -d

    ERROR:
    Can't find a suitable configuration file in this directory or any
    parent. Are you in the right directory?

    Supported filenames: docker-compose.yml, docker-compose.yaml, compose.yml, compose.yaml

    ---------------------------

    Here is a docker-compose.yaml; it doesn't work.  What changes would make it work?

    version: "3"

    services:
        aistudio:
            image: bst-bme-aistudio-server
            container_name: aistudio
            network_mode: host
            restart: unless-stopped
            environment:
                - PGUSER=aistudio
                - PGPASSWORD=sEcr3t
                - PGDATABASE=aistudio
                - PGDATAPATH=./pgdata
           volumes:
                - /opt/aistudio:/pgdata
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist