mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-14 18:35:08 +01:00
Usage scenario to run talk with firefox
This commit is contained in:
parent
012bc9552b
commit
54a9d3814a
1 changed files with 50 additions and 0 deletions
50
usage_scenario-talk-firefox.yml
Normal file
50
usage_scenario-talk-firefox.yml
Normal file
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
name: Nextcloud - Talk
|
||||
author: Danilo Jesic <danilo@green-coding.berlin>
|
||||
version: 1
|
||||
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.
|
||||
compose-file: !include compose.yml
|
||||
|
||||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright
|
||||
setup-commands:
|
||||
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
|
||||
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
|
||||
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
# 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:
|
||||
- nextcloud-setup-network
|
||||
|
||||
nc:
|
||||
volumes: []
|
||||
networks:
|
||||
- nextcloud-setup-network
|
||||
|
||||
networks:
|
||||
nextcloud-setup-network:
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/nextcloud_talk.py firefox
|
||||
note: Starting conversation
|
||||
read-notes-stdout: true
|
Loading…
Add table
Reference in a new issue