0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-20 02:46:10 +02:00

Install is now down in separate flow; Re-Using volumes

This commit is contained in:
Arne Tarara 2024-10-18 13:20:03 +02:00
parent e15738267a
commit 7246112480
No known key found for this signature in database
GPG key ID: 2540198A4079785B
26 changed files with 93 additions and 191 deletions

View file

@ -9,8 +9,8 @@ services:
image: mariadb:11.0.2-jammy image: mariadb:11.0.2-jammy
restart: always restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
#volumes: 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 - db:/var/lib/mysql
environment: environment:
- MYSQL_ROOT_PASSWORD=TheGibson - MYSQL_ROOT_PASSWORD=TheGibson
- MYSQL_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson
@ -27,8 +27,8 @@ services:
- 8080:80 - 8080:80
links: links:
- db - db
#volumes: 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 - nextcloud:/var/www/html
environment: environment:
- MYSQL_PASSWORD=TheGibson - MYSQL_PASSWORD=TheGibson
- MYSQL_DATABASE=nextcloud - MYSQL_DATABASE=nextcloud

View file

@ -8,8 +8,8 @@ services:
db: db:
image: postgres:15.3-alpine3.18 image: postgres:15.3-alpine3.18
restart: always restart: always
#volumes: 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 - db:/var/lib/postgresql/data
environment: environment:
- POSTGRES_PASSWORD=TheGibson - POSTGRES_PASSWORD=TheGibson
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud
@ -25,8 +25,8 @@ services:
- 8080:80 - 8080:80
links: links:
- db - db
#volumes: 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 - nextcloud:/var/www/html
environment: environment:
- POSTGRES_PASSWORD=TheGibson - POSTGRES_PASSWORD=TheGibson
- POSTGRES_DB=nextcloud - POSTGRES_DB=nextcloud

View file

@ -9,8 +9,10 @@ services:
restart: always restart: always
ports: ports:
- 8080:80 - 8080:80
#volumes: environment:
# - 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 SQLITE_DATABASE: owncloud2.db
volumes:
- nextcloud:/var/www/html
healthcheck: healthcheck:
test: curl --fail --silent http://nc test: curl --fail --silent http://nc
interval: "1h" # effectively turns repeated healthchecks during runtime off interval: "1h" # effectively turns repeated healthchecks during runtime off

View file

@ -16,15 +16,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Create User
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Create User
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -16,15 +16,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -16,16 +16,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View 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

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Create User
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -20,15 +20,6 @@ services:
- nextcloud-setup-network - nextcloud-setup-network
flow: 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 - name: Create User
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -17,15 +17,6 @@ services:
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -16,15 +16,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View 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

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Create User
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Create User
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -16,15 +16,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -16,15 +16,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Login and create event
container: gcb-playwright container: gcb-playwright
commands: commands:

View 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

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands:

View file

@ -19,15 +19,6 @@ services:
DISPLAY: ":0" # for debugging in non-headless mode DISPLAY: ":0" # for debugging in non-headless mode
flow: 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 - name: Talk conversation
container: gcb-playwright container: gcb-playwright
commands: commands: