0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-16 19:35:08 +01:00
nextcloud-docker/energy-tests/usage_scenario-fpm-mariadb-talk-chromium.yml

62 lines
1.6 KiB
YAML
Raw Normal View History

2023-06-06 15:13:47 +02:00
---
name: Nextcloud - FPM - MariaDB - Talk - Chromium
2023-06-09 10:49:49 +02:00
author: Danilo Jesic <danilo@green-coding.berlin>
description: Installs the official Nextcloud FPM image with a MariaDB 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-fpm-mariadb.yml
2023-06-06 15:13:47 +02:00
2023-08-04 11:11:22 +02:00
sci:
R_d: Talk message
2023-06-06 15:13:47 +02:00
services:
gcb-playwright:
2023-11-02 00:34:17 +01:00
image: greencoding/gcb_playwright:v3
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
app:
2023-06-06 15:13:47 +02:00
volumes: []
networks:
- nextcloud-setup-network
2023-06-06 15:13:47 +02:00
nc:
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
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
2023-07-11 16:02:50 +02:00
log-stdout: true
log-stderr: true
- name: Talk conversation
container: gcb-playwright
commands:
2023-06-06 15:13:47 +02:00
- type: console
command: python3 /tmp/nextcloud_talk.py
note: Starting conversation
2023-06-06 15:13:47 +02:00
read-notes-stdout: true
2023-08-04 15:35:26 +02:00
read-sci-stdout: true
2023-07-11 16:02:50 +02:00
log-stdout: true
log-stderr: true