Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.08 KB

PHPCI docker image

PHPCI is a free and open source continuous integration tool specifically designed for PHP. Built with simplicity in mind and featuring integrations with all of your favourite testing tools, the very best platform for testing your PHP projects.

Sample docker-compose.yml

phpci:
  container_name: phpci
  image: sunfoxcz/phpci:latest
  environment:
    - TZ=Europe/Prague
    - PHPCI_URL=http://phpci.domain.tld
    - PHPCI_DB_HOST=mysql.domain.tld
    - PHPCI_DB_NAME=phpci
    - PHPCI_DB_PASSWORD=xxx
    - PHPCI_ADMIN_LOGIN=admin
    - PHPCI_ADMIN_PASSWORD=xxx
    - [email protected]
  ports:
    - "127.0.0.1:8090:80"

Inspecting phpci

To look around in the image, run:

docker run --rm -t -i sunfoxcz/phpci:<VERSION> /sbin/my_init -- bash -l

where <VERSION> is one of the phpci version numbers.

You don't have to download anything manually. The above command will automatically pull the baseimage-docker image from the Docker registry.