all-in-one/php
Jean-Yves 31162a29d8
fix
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
2024-07-25 18:12:58 +02:00
..
data Initial import 2021-11-30 11:20:42 +01:00
public Revert "pre-fill the domain" 2024-05-22 14:49:40 +02:00
session Remove unnecessary file 2021-11-30 13:59:41 +01:00
src set apache_ip_binding to internal for caddy community container and remove legacy code 2024-07-11 14:26:08 +02:00
templates increase to 9.3.0 2024-07-18 14:53:17 +02:00
.gitignore Initial import 2021-11-30 11:20:42 +01:00
composer.json fix 2024-07-25 18:12:58 +02:00
composer.lock fix 2024-07-25 18:12:58 +02:00
containers-schema.json add it to jscon schema 2024-03-01 18:31:49 +01:00
containers.json Merge pull request #4960 from nextcloud/enh/4918/fix-clamav 2024-07-11 15:05:44 +02:00
domain-validator.php domain-validator: use str_contains instead of strpos 2024-06-24 14:32:14 +02:00
psalm-baseline.xml Update psalm baseline 2024-06-20 04:09:41 +00:00
psalm.xml fix psalm 2023-03-10 11:26:04 +01:00
README.md fix 2024-07-25 18:12:58 +02:00

PHP Docker Controller

This is the code for the PHP Docker controller.

How to run

Running this locally requires Docker Engine on the same machine. If this is the case, just execute the following command:

composer install
sudo SKIP_DOMAIN_VALIDATION=true composer run dev # sudo is required to access docker socket

You can then access the web interface at localhost:8080.

If you have an error that says Couldn't connect to server for http://127.0.0.1/v1.41/networks/create makes sure a nextcloud-aio-mastercontainer is running. You can start it with the following command:

sudo docker run \
--rm \
--name nextcloud-aio-mastercontainer \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest

Commands

Command Description
composer run dev Starts the development server
composer run psalm Run Psalm static analysis
composer run psalm:update-baseline Run Psalm with --update-baseline arg
composer run lint Run PHP Syntax check
composer run lint:twig Run Twig Syntax check
composer run php-deprecation-detector Run PHP Deprecation Detector