0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-24 20:34:10 +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

@ -7,41 +7,20 @@ compose-file: !include compose-fpm-mariadb.yml
services:
gcb-playwright:
image: greencoding/gcb_playwright:v3
setup-commands:
- cp /tmp/repo/nextcloud_install.py /tmp/nextcloud_install.py
- cp /tmp/repo/nextcloud_create_event.py /tmp/nextcloud_create_event.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
app:
volumes: []
networks:
- nextcloud-setup-network
nc:
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
command: python3 /tmp/repo/nextcloud_install.py
note: Installing Nextcloud
read-notes-stdout: true
log-stdout: true
@ -50,7 +29,7 @@ flow:
container: gcb-playwright
commands:
- type: console
command: python3 /tmp/nextcloud_create_event.py
command: python3 /tmp/repo/nextcloud_create_event.py
note: Creating event
read-notes-stdout: true
read-sci-stdout: true