mirror of
https://github.com/nextcloud/docker.git
synced 2025-03-15 19:05:09 +01:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
---
|
|
name: Nextcloud - SQLite - Talk - Chromium
|
|
author: Danilo Jesic <danilo@green-coding.berlin>
|
|
description: Installs the official Nextcloud image with a SQLite 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-sqlite.yml
|
|
|
|
sci:
|
|
R_d: Talk message
|
|
|
|
services:
|
|
gcb-playwright:
|
|
image: greencoding/gcb_playwright:v3
|
|
depends_on:
|
|
nc:
|
|
condition: service_healthy
|
|
volumes:
|
|
- /tmp/.X11-unix:/tmp/.X11-unix # for debugging in non-headless mode
|
|
environment:
|
|
DISPLAY: ":0" # for debugging in non-headless mode
|
|
|
|
flow:
|
|
- name: Install Nextcloud
|
|
container: gcb-playwright
|
|
commands:
|
|
- type: console
|
|
command: python3 /tmp/repo/nextcloud_install.py
|
|
note: Installing Nextcloud
|
|
read-notes-stdout: true
|
|
log-stdout: true
|
|
log-stderr: true
|
|
- name: Talk conversation
|
|
container: gcb-playwright
|
|
commands:
|
|
- type: console
|
|
command: python3 /tmp/repo/nextcloud_talk.py
|
|
note: Starting conversation
|
|
read-notes-stdout: true
|
|
read-sci-stdout: true
|
|
log-stdout: true
|
|
log-stderr: true
|