mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
Install is now down in separate flow; Re-Using volumes
This commit is contained in:
parent
e15738267a
commit
7246112480
26 changed files with 93 additions and 191 deletions
|
@ -9,8 +9,8 @@ services:
|
|||
image: mariadb:11.0.2-jammy
|
||||
restart: always
|
||||
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
|
||||
#volumes:
|
||||
# - db:/var/lib/mysql # This is the usual way of starting this service in a container, but we do not need persistent data storage for benchmarking
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=TheGibson
|
||||
- MYSQL_PASSWORD=TheGibson
|
||||
|
@ -27,8 +27,8 @@ services:
|
|||
- 8080:80
|
||||
links:
|
||||
- db
|
||||
#volumes:
|
||||
# - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
environment:
|
||||
- MYSQL_PASSWORD=TheGibson
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
|
|
|
@ -8,8 +8,8 @@ services:
|
|||
db:
|
||||
image: postgres:15.3-alpine3.18
|
||||
restart: always
|
||||
#volumes:
|
||||
# - db:/var/lib/postgresql/data:Z # This is the usual way of starting this service in a container, but we do not need persistent data storage for benchmarking
|
||||
volumes:
|
||||
- db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=TheGibson
|
||||
- POSTGRES_DB=nextcloud
|
||||
|
@ -25,8 +25,8 @@ services:
|
|||
- 8080:80
|
||||
links:
|
||||
- db
|
||||
#volumes:
|
||||
# - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=TheGibson
|
||||
- POSTGRES_DB=nextcloud
|
||||
|
|
|
@ -9,8 +9,10 @@ services:
|
|||
restart: always
|
||||
ports:
|
||||
- 8080:80
|
||||
#volumes:
|
||||
# - nextcloud:/var/www/html # This is the usual way of using nextcloud in a container, but we do not need persistent data storage for benchmarking
|
||||
environment:
|
||||
SQLITE_DATABASE: owncloud2.db
|
||||
volumes:
|
||||
- nextcloud:/var/www/html
|
||||
healthcheck:
|
||||
test: curl --fail --silent http://nc
|
||||
interval: "1h" # effectively turns repeated healthchecks during runtime off
|
||||
|
|
|
@ -16,15 +16,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/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:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Create User
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Create User
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -16,15 +16,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/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:
|
||||
|
|
|
@ -16,16 +16,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
|
||||
- name: Login and create event
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
27
energy-tests/usage_scenario-mariadb-install-firefox.yml
Normal file
27
energy-tests/usage_scenario-mariadb-install-firefox.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
name: Nextcloud - MariaDB - Install - Firefox
|
||||
author: Arne Tarara <arne@green-coding.io>
|
||||
description: Installs the official Nextcloud image with a MariaDB.
|
||||
compose-file: !include compose-mariadb.yml
|
||||
|
||||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v12
|
||||
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/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Create User
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -20,15 +20,6 @@ services:
|
|||
- nextcloud-setup-network
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Create User
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -17,15 +17,6 @@ services:
|
|||
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/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:
|
||||
|
|
|
@ -16,15 +16,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Login and create event
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
27
energy-tests/usage_scenario-postgres-install-firefox.yml
Normal file
27
energy-tests/usage_scenario-postgres-install-firefox.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
name: Nextcloud - PostgreSQL - Install - Firefox
|
||||
author: Arne Tarara <arne@green-coding.io>
|
||||
description: Installs the official Nextcloud image with a PostgreSQL DB.
|
||||
compose-file: !include compose-postgres.yml
|
||||
|
||||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v12
|
||||
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/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Create User
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Create User
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -16,15 +16,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/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:
|
||||
|
|
|
@ -16,15 +16,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Login and create event
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
27
energy-tests/usage_scenario-sqlite-install-firefox.yml
Normal file
27
energy-tests/usage_scenario-sqlite-install-firefox.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
name: Nextcloud - SQLite - Install - Firefox
|
||||
author: Arne Tarara <arne@green-coding.io>
|
||||
description: Installs the official Nextcloud image with a SQLite DB.
|
||||
compose-file: !include compose-sqlite.yml
|
||||
|
||||
services:
|
||||
gcb-playwright:
|
||||
image: greencoding/gcb_playwright:v12
|
||||
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/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
|
@ -19,15 +19,6 @@ services:
|
|||
DISPLAY: ":0" # for debugging in non-headless mode
|
||||
|
||||
flow:
|
||||
- name: Install Nextcloud
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
- type: console
|
||||
command: python3 /tmp/repo/energy-tests/nextcloud_install.py firefox
|
||||
note: Installing Nextcloud
|
||||
read-notes-stdout: true
|
||||
log-stdout: true
|
||||
log-stderr: true
|
||||
- name: Talk conversation
|
||||
container: gcb-playwright
|
||||
commands:
|
||||
|
|
Loading…
Add table
Reference in a new issue