diff --git a/bootstrap.sh b/bootstrap.sh index a9bdc96..c96524a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -25,7 +25,7 @@ The following options can be provided: --clone-all-apps-filtered Do not only reduce the history of the server repository but also the cloned apps. - + APPS The apps to add to the development setup on top of the default apps The default apps to be installed: ${APPS_TO_INSTALL[@]} @@ -82,7 +82,7 @@ if [ -f ".env" ]; then echo "❌ Repository path does not exist" fi - for i in stable26 stable27 stable28 + for i in stable26 stable27 stable28 stable29 stable30 do echo "Stable $i repository path: ${STABLE_ROOT_PATH}/${i}" STABLE_VERSION=$(grep "OC_VersionString" "${STABLE_ROOT_PATH}/${i}/version.php" | cut -d "'" -f 2) diff --git a/docker-compose.yml b/docker-compose.yml index 2b8281c..fc3286f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -39,6 +39,7 @@ services: - stable27${DOMAIN_SUFFIX} - stable28${DOMAIN_SUFFIX} - stable29${DOMAIN_SUFFIX} + - stable30${DOMAIN_SUFFIX} - mail${DOMAIN_SUFFIX} - collabora${DOMAIN_SUFFIX} - codedev${DOMAIN_SUFFIX} @@ -564,6 +565,36 @@ services: extra_hosts: - host.docker.internal:host-gateway + stable30: + image: ghcr.io/juliushaertl/nextcloud-dev-php${PHP_VERSION:-81}:latest + environment: + SQL: ${SQL:-mysql} + NEXTCLOUD_AUTOINSTALL: "YES" + NEXTCLOUD_AUTOINSTALL_APPS: + WITH_REDIS: "YES" + VIRTUAL_HOST: stable30${DOMAIN_SUFFIX} + ADDITIONAL_APPS_PATH: + NEXTCLOUD_TRUSTED_DOMAINS: + PRIMARY: ${PRIMARY:-local} + PHP_XDEBUG_MODE: ${PHP_XDEBUG_MODE:-develop} + volumes: + - '${STABLE_ROOT_PATH}/stable30:/var/www/html' + - '${STABLE_ROOT_PATH}/stable30/apps-extra:/var/www/html/apps-extra' + - '${ADDITIONAL_APPS_PATH:-./data/apps-extra}:/var/www/html/apps-shared' + - /var/www/html/data + - /var/www/html/config + - /var/www/html/apps-writable + - ./data/skeleton/:/skeleton + - ./data/additional.config.php:/var/www/html/config/additional.config.php:ro + - ./data/shared:/shared + depends_on: + - database-${SQL:-mysql} + - redis + - mail + - ${PROXY_SERVICE:-proxy} + extra_hosts: + - host.docker.internal:host-gateway + database-sqlite: image: rwgrim/docker-noop @@ -1008,7 +1039,7 @@ services: VIRTUAL_HOST: "talk-recording${DOMAIN_SUFFIX}" VIRTUAL_PORT: 1234 shm_size: 2147483648 - + volumes: data: config: