Skip to content

jaltek/docker-php-censor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Censor docker images

Web image (php-censor-web)

Web image stars Web image pulls

Worker image (php-censor-worker)

Worker image stars Worker image pulls

Description

Docker containers for PHP Censor with installed, configured source code and dependencies, configurable by environment variables config.yml. It has separated into two containers parts: php-censor-web and php-censor-worker for better scalability.

You can use docker-compose file (docker-compose.yml) that is described below to run a whole stack.

Docker compose

How to use

Default way with PostgreSQL database:

docker-compose up -f docker-compose.yml -d

Or if you want to use it with MySQL (MariaDB):

docker-compose up -f docker-compose.mysql.yml -d

If you want to up more worker just use this command, when the PHP Censor stack is already started (but you can do it on start):

docker-compose scale worker=4

Requirements

Used docker-compose.yml v2.1, which requires:

  • Docker Engine v1.12+
  • Docker Compose v1.9+

About

Containers for PHP Censor CI system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%