~pat-mcgowan/+junk/testdemo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: webdemo
version: '1.0'
summary: Simple web view loading shared content
description: A lightweight webapp container tailored for Ubuntu, based on the Oxide browser engine and using the Ubuntu UI components.
grade: devel
confinement: strict

apps:
  webdemo:
    command: webapp-launcher http://localhost:8001 --fullscreen
#    daemon: simple
#    restart-condition: always
    plugs:
      - browser-sandbox
      - camera
      - mir
      - network
      - network-bind
      - opengl
      - pulseaudio
      - screen-inhibit-control
      - unity7
  showsocket:
    command: showsocket
    
plugs:
  browser-sandbox:
    interface: browser-support
    allow-sandbox: false
  platform:
    interface: content
    content: ubuntu-app-platform1
    target: ubuntu-app-platform
    default-provider: ubuntu-app-platform
  demo-content:
    content: demo-content
    interface: content
    target: demo-content
    default-provider: webdemocontent:demo-content

parts:
  my-content:
    plugin: dump
    source: .
  webapp-container:
    after: [desktop-ubuntu-app-platform,webapp-helper]
    plugin: nil