-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Cy Rossignol <[email protected]>
- Loading branch information
1 parent
7f02463
commit 945e74c
Showing
23 changed files
with
2,087 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
build/ | ||
cluster/ | ||
docs/ | ||
vendor/ | ||
composer.phar | ||
composer.lock | ||
docker-compose.override.yml | ||
phpcs.xml | ||
phpspec.yml | ||
phpunit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
version: "3" | ||
|
||
services: | ||
|
||
cluster: | ||
image: redis:alpine | ||
entrypoint: ./start-cluster.sh | ||
working_dir: /project | ||
user: "${CONTAINER_USER_ID:-root:root}" | ||
environment: | ||
BIND_ADDRESS: "0.0.0.0" | ||
SENTINEL_PORTS: "26379-26381" | ||
REDIS_GROUP_1: "service1 6379-6381" | ||
REDIS_GROUP_2: "service2 6382-6384" | ||
LOGGING: "yes" | ||
ports: | ||
- "6379-6384:6379-6384" | ||
- "26379-26381:26379-26381" | ||
volumes: | ||
- ./:/project | ||
|
||
tests: | ||
image: phpunit/phpunit:latest | ||
entrypoint: vendor/bin/phpunit --colors=always | ||
network_mode: host | ||
user: "${CONTAINER_USER_ID:-root:root}" | ||
volumes: | ||
- ./:/app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.