--- name: Nextcloud - SQLite - Event - Chromium author: Danilo Jesic description: Installs the official Nextcloud image with a SQLite and creates a calendar event. Uses a playwright script running Chromium to create an admin account, install the recommended apps and then create an event. compose-file: !include compose-sqlite.yml 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: Login and create event container: gcb-playwright commands: - type: console command: python3 /tmp/repo/nextcloud_create_event.py note: Creating event read-notes-stdout: true read-sci-stdout: true log-stdout: true log-stderr: true