0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-05-07 09:10:55 +02:00

Updated for new healthcheck and fix for new Nextcloud version

This commit is contained in:
Arne Tarara 2023-12-30 13:47:48 +01:00
parent 99d125f704
commit e6da52e9c3
No known key found for this signature in database
GPG key ID: 2540198A4079785B
26 changed files with 225 additions and 559 deletions

View file

@ -10,37 +10,20 @@ sci:
services:
gcb-playwright:
image: greencoding/gcb_playwright:v3
setup-commands:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
- cp /tmp/repo/nextcloud_talk.py /tmp/nextcloud_talk.py
networks:
- 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:
- nextcloud-setup-network
nc:
volumes: []
networks:
- nextcloud-setup-network
networks:
nextcloud-setup-network:
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/nextcloud_install.py firefox
command: python3 /tmp/repo/nextcloud_install.py firefox
note: Installing Nextcloud
read-notes-stdout: true
log-stdout: true
@ -49,7 +32,7 @@ flow:
container: gcb-playwright
commands:
- type: console
command: python3 /tmp/nextcloud_talk.py firefox
command: python3 /tmp/repo/nextcloud_talk.py firefox
note: Starting conversation
read-notes-stdout: true
read-sci-stdout: true