Deploy app from GitHub

Hi,

I use Balena for some kiosk browsers and made the following compose file:

version: '2'
services:
  browser:
    image: bh.cr/balenalabs/browser-amd64
    privileged: true
    network_mode: bridge
    environment:
      LAUNCH_URL: "https://www.example.com"
      KIOSK: 1
      EXTRA_FLAGS: "--disable-features=Translate"

Now, as far as I understand, instead of pushing this to every new fleet I make, I can create an app out of it in order to facilitate the process, but I can’t really get it to work, and don’t really understand how to set it up properly.

Deploying via the dashboard is apparently “coming soon”. I tried following the steps for the Deploy with Balena button and creating a GitHub repository with a file balena.yml:

type: sw.application
name: kiosk-browser
version: 1.0.0
assets:
  repository:
    type: blob.asset
    data:
      url: 'https://github.com/balena-labs-projects/browser'
data:
  applicationEnvironmentVariables:
    LAUNCH_URL: "https://www.example.com"
    KIOSK: 1
    EXTRA_FLAGS: "--disable-features=Translate"
  defaultDeviceType: intel-nuc

I don’t know whether this is correct, and I don’t know where this leaves the container properties such as privileged. The button takes me to the dashboard and lets me select a fleet etc, but the release fails with the following error:

[Error]    Could not detect project type: Service main: Could not find a Dockerfile for this service