Deploy

Application deployment is how you interact with your edge devices. Develop, run and manage your applications

Applications in Synpse can contain one or more Docker containers. These containers can easily talk to each other and utilise all the regular Docker features that you are used to.

You can view a bunch of sample applications that are available here https://github.com/synpse-hq/synpse for inspiration. If you wish to deploy some specific app but not sure how, please drop us an email at [email protected] or join our Discord channel and we will help you out! 💡

CLI

To deploy first application use synpse application create CLI command.

synpse application create hello \
  --image="quay.io/synpse/hello-synpse-go:latest" 

To create or update an application from file use -f flag provide either URL or file location locally

synpse deploy \
  -f https://raw.githubusercontent.com/synpse-hq/hello-synpse-go/main/hello.yaml

​where application spec file is yaml file:

name: hello-synpse
scheduling:
  type: AllDevices
spec:
  containers:
    - name: hello
      image: quay.io/synpse/hello-synpse-go:latest
      ports:
        - 8090:8090

Examples

If you mapping docker run command into Synpse, this part will help you to understand mapping for the arguments

Example 1

Volumes and environment variables

Will translate to:

Example 2

A more complex command with arguments:

Will translate to:

Example 3

Exec driver application running firefox in kiosk mode:

Example 4

Exec driver with container in one application spec:

Last updated

Was this helpful?