Skip to content

Instantly share code, notes, and snippets.

View mpivchev's full-sized avatar
🏠
Working from home

Milen Pivchev mpivchev

🏠
Working from home
View GitHub Profile
@mpivchev
mpivchev / create-docker-test-server.sh
Last active June 8, 2023 09:43
Create a docker test server for Nextcloud
#!/usr/bin/env bash
#This script creates a testable Docker enviroment of the Nextcloud server, and is used by the CI for tests.
container_name="nextcloud_test"
port=8080
server_url="http://localhost:${port}"
user="admin"
docker run --rm -d --name $container_name -p $port:80 ghcr.io/juliushaertl/nextcloud-dev-php80:latest