Browse Source

new: [py3o-{fusion,server},lo-xcgd] add charm

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
framadate
Valentin Lab 5 years ago
parent
commit
0aefc4422d
  1. 7
      lo-xcgd/metadata.yml
  2. 11
      py3o-fusion/hooks/py3o_render_server-relation-joined
  3. 11
      py3o-fusion/metadata.yml
  4. 10
      py3o-server/hooks/lo_server-relation-joind
  5. 14
      py3o-server/metadata.yml

7
lo-xcgd/metadata.yml

@ -0,0 +1,7 @@
docker-image: docker.0k.io/py3o-server:1.0.0
data-resources:
- /tmp
provides:
lo-server:

11
py3o-fusion/hooks/py3o_render_server-relation-joined

@ -0,0 +1,11 @@
#!/bin/bash
set -e
config-add "\
services:
$MASTER_BASE_SERVICE_NAME:
command:
- start-py3o-fusion
- \"--renderserver=$TARGET_SERVICE_NAME\"
"

11
py3o-fusion/metadata.yml

@ -0,0 +1,11 @@
docker-image: docker.0k.io/py3o-fusion:1.0.0
uses:
py3o-render-server:
#constraint: required | recommended | optional
#auto: pair | summon | none ## default: pair
constraint: required
auto: summon
solves:
py3o-render: "Render server"

10
py3o-server/hooks/lo_server-relation-joind

@ -0,0 +1,10 @@
#!/bin/bash
set -e
config-add "\
services:
$MASTER_BASE_SERVICE_NAME:
volumes:
- $HOST_DATASTORE/$TARGET_BASE_SERVICE_NAME/tmp:/tmp
"

14
py3o-server/metadata.yml

@ -0,0 +1,14 @@
docker-image: docker.0k.io/py3o-server:1.0.0
provides:
py3o-render-server:
uses:
lo-server:
#constraint: required | recommended | optional
#auto: pair | summon | none ## default: pair
constraint: required
auto: summon
solves:
lo-server: "Libre office server"
Loading…
Cancel
Save