0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 02:45:09 +01:00
nextcloud-docker/usage_scenario.yml
2023-06-09 11:36:44 +02:00

50 lines
1.3 KiB
YAML

---
name: NextCloud MariaDB - Chrome Talk
author: Danilo Jesic <danilo@green-coding.berlin>
version: 1
description: Installs the official NextCloud image and creates a user and starts a Talk conversation
compose-file: !include compose.yml
services:
gcb-playwright:
image: gcb_playwright
build:
context: .
dockerfile: Dockerfile
setup-commands:
- cp /tmp/repo/nextcloud/chrome/apache_mariadb/nextcloud_install_playwright.py /tmp/nextcloud_install_playwright.py
- cp /tmp/repo/nextcloud/chrome/apache_mariadb/nextcloud_talk_playwright.py /tmp/nextcloud_talk_playwright.py
networks:
name: 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:
name: nextcloud-setup-network
nc:
volumes: []
networks:
name: nextcloud-setup-network
networks:
name: nextcloud-setup-network
flow:
- name: Check Website
container: gcb-playwright
commands:
- type: console
command: python3 /tmp/nextcloud_install_playwright.py
note: Installing Nextcloud
read-notes-stdout: true
- type: console
command: python3 /tmp/nextcloud_talk_playwright.py
note: Creating Event
read-notes-stdout: true