timonier / phpci

PHPCI is a free and open source continuous integration tool specifically designed for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

⚠️ This project is no longer maintained. ⚠️

Usage

An example of usage is provided with docker-compose:

# Override docker-compose

cat > docker-compose.override.yml << "EOF"
version: '2.3'

services:
    master:
        environment:
            - 'PHPCI_DB_PASSWORD=${PHPCI_DB_PASSWORD}'
        ports:
            - '80:80'

    mysql:
        environment:
            - 'MYSQL_PASSWORD=${PHPCI_DB_PASSWORD}'
            - 'MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}'

    worker:
        environment:
            - 'PHPCI_DB_PASSWORD=${PHPCI_DB_PASSWORD}'
EOF

# Prepare the system

export MYSQL_ROOT_PASSWORD="96bb5db7-0f0f-4758-af6f-c8dd4a9fe058"
export PHPCI_DB_PASSWORD="6e737f0e-8641-4894-8d74-87d161841bc6"

# Start the project

docker-compose up -d

# Create an admin

docker-compose exec --user www-data master php /opt/phpci/console phpci:create-admin

# Increase (or decrease) the number of workers

docker-compose scale worker=2

# Go to the URL "localhost"

Note: Don't forget to change the MySQL password. Use bin/generate-secret if you want to generate a strong token.

Links

About

PHPCI is a free and open source continuous integration tool specifically designed for PHP

License:MIT License


Languages

Language:Shell 51.0%Language:Dockerfile 37.9%Language:PHP 11.1%