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:
parent
99d125f704
commit
e6da52e9c3
26 changed files with 225 additions and 559 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue