0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 10:55:09 +01:00
nextcloud-docker/usage_scenario-talk.yml

48 lines
1.3 KiB
YAML
Raw Normal View History

2023-06-06 15:13:47 +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:
- 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:
- 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:
- 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:
- nextcloud-setup-network
2023-06-06 15:13:47 +02:00
networks:
nextcloud-setup-network:
2023-06-06 15:13:47 +02:00
flow:
- name: Install Nextcloud and start a conversation
2023-06-06 15:13:47 +02:00
container: gcb-playwright
commands:
- type: console
command: python3 /tmp/nextcloud_install.py
2023-06-06 15:13:47 +02:00
note: Installing Nextcloud
read-notes-stdout: true
- type: console
command: python3 /tmp/nextcloud_talk.py
note: Starting conversation
2023-06-06 15:13:47 +02:00
read-notes-stdout: true