https://github.com/php-censor/docker-php-censor
Containers for PHP Censor CI system
https://github.com/php-censor/docker-php-censor
ci continuous-integration docker docker-compose docker-container docker-image dockerfile hacktoberfest php php-censor phpcensor phpci testing
Last synced: 3 months ago
JSON representation
Containers for PHP Censor CI system
- Host: GitHub
- URL: https://github.com/php-censor/docker-php-censor
- Owner: php-censor
- License: mit
- Created: 2017-02-03T11:44:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-11T12:11:45.000Z (over 1 year ago)
- Last Synced: 2024-04-26T19:00:22.259Z (about 1 year ago)
- Topics: ci, continuous-integration, docker, docker-compose, docker-container, docker-image, dockerfile, hacktoberfest, php, php-censor, phpcensor, phpci, testing
- Language: Shell
- Homepage:
- Size: 252 KB
- Stars: 20
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PHP Censor docker images
========================*Web image (php-censor-web)*

*Worker image (php-censor-worker)*

## Description
[Docker containers for PHP Censor](https://hub.docker.com/u/phpcensor/) with installed, configured source code
and dependencies, configurable by environment variables `config.yml`. It has separated into two containers parts:
[php-censor-web](./web/README.md) and [php-censor-worker](./worker/README.md) 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 -f docker-compose.yml up -d (--build)
```Or if you want to use it with MySQL (MariaDB):
```
docker-compose -f docker-compose.mysql.yml up -d (--build)
```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+