2023-06-06 15:13:47 +02:00
---
2023-06-15 16:43:08 +02:00
name : Nextcloud - Talk
2023-06-09 10:49:49 +02:00
author : Danilo Jesic <danilo@green-coding.berlin>
2023-06-06 15:13:47 +02:00
version : 1
2023-06-16 17:35:53 +02:00
description : Installs the official Nextcloud image and starts a Talk conversation. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create a Talk conversation where guest users will send each other random text.
2023-06-06 15:13:47 +02:00
compose-file : !include compose.yml
services :
gcb-playwright :
2023-06-12 12:16:15 +02:00
image : greencoding/gcb_playwright
2023-06-06 15:13:47 +02:00
setup-commands :
2023-06-15 16:43:08 +02:00
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
2023-06-06 15:13:47 +02:00
networks :
2023-06-09 11:38:08 +02:00
- nextcloud-setup-network
2023-06-06 15:13:47 +02:00
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix
# environment:
# DISPLAY: ":0"
# We don't need the volumes are we don't want to persist any data
db :
volumes : [ ]
networks :
2023-06-09 11:38:08 +02:00
- nextcloud-setup-network
2023-06-06 15:13:47 +02:00
2023-06-08 13:52:29 +02:00
nc :
2023-06-06 15:13:47 +02:00
volumes : [ ]
networks :
2023-06-09 11:38:08 +02:00
- nextcloud-setup-network
2023-06-06 15:13:47 +02:00
networks :
2023-06-09 15:21:42 +02:00
nextcloud-setup-network :
2023-06-06 15:13:47 +02:00
flow :
2023-06-21 10:56:10 +02:00
- name : Install Nextcloud
2023-06-06 15:13:47 +02:00
container : gcb-playwright
commands :
- type : console
2023-06-15 16:43:08 +02:00
command : python3 /tmp/nextcloud_install.py
2023-06-06 15:13:47 +02:00
note : Installing Nextcloud
read-notes-stdout : true
2023-06-21 10:56:10 +02:00
- name : Talk conversation
container : gcb-playwright
commands :
2023-06-06 15:13:47 +02:00
- type : console
2023-06-15 16:43:08 +02:00
command : python3 /tmp/nextcloud_talk.py
note : Starting conversation
2023-06-06 15:13:47 +02:00
read-notes-stdout : true