Skip to content

Commit c13b32e

Browse files
author
Vincent Faliès
authored
Merge pull request #13 from vfalies/dev
3.1
2 parents 6b685d7 + 5397815 commit c13b32e

File tree

8 files changed

+48
-8
lines changed

8 files changed

+48
-8
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [3.1]
9+
10+
### Added
11+
12+
- Add Redis admin tools
13+
- Add XDebug configuration & profiler directory
14+
15+
### Changed
16+
17+
- Fix wrapper php & composer
18+
- Update EnvdevHome version
19+
820
## [3.0]
921

1022
### Added

conf/php/php.ini

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,14 @@ memory_limit = -1
77
upload_max_filesize = 200M
88
post_max_size = 50M
99
SMTP=maildev
10-
smtp_port=25
10+
smtp_port=25
11+
12+
#XDebug configuration
13+
xdebug.remote_connect_back=1
14+
xdebug.idekey=VSCODE
15+
xdebug.remote_autostart=0
16+
17+
xdebug.profiler_enable_trigger = 1
18+
xdebug.profiler_enable = 0
19+
xdebug.profiler_output_dir = "/outputs/profiler" # Remote path
20+
xdebug.profiler_output_name=cachegrind.out.%R # To specify witch query is the origin

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3.6"
33
services:
44

55
home:
6-
image: vfac/envdevhome:1.1
6+
image: vfac/envdevhome:1.2
77
container_name: home
88
env_file: .env
99
volumes:
@@ -30,13 +30,13 @@ services:
3030
- ${PROJECTS_PATH}:${PROJECTS_PATH_DEST}
3131
- ./tools/phpinfo:/var/www/html/phpinfo
3232
- ./conf/php/php.ini:/usr/local/etc/php/php.ini
33+
- ./outputs/profiler:/outputs/profiler
3334
- ~/.gitconfig:/root/.gitconfig
3435
- ~/.gitconfig:/home/vfac/.gitconfig
3536
- ~/.ssh:/root/.ssh
3637
- ~/.ssh:/home/vfac/.ssh
3738
user: "${USER_ID}:${GROUP_ID}"
3839
ports:
39-
- '9000:9000'
4040
- '22:22'
4141

4242
working_dir: ${PROJECTS_PATH_DEST}

environments/redis.env

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
# Cache version
33
CACHE_VERSION=5.0-alpine
44
# Cache port
5-
CACHE_PORT=6380
5+
CACHE_PORT=6379
66
CACHE_STATIC_IP=172.16.238.15
77
CACHE_SERVER=redis
8+
CACHEADMIN_STATIC_IP=172.16.238.19
9+
CACHEADMIN_PORT=8082

services/redis.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,27 @@ services:
33
cache:
44
image: redis:${CACHE_VERSION}
55
ports:
6-
- ${CACHE_PORT}:6379
6+
- 6379:6379
77
container_name: cache
88
links:
99
- base:base
1010
- home:home
1111
networks:
1212
vfac:
1313
ipv4_address: ${CACHE_STATIC_IP}
14+
15+
redis-commander:
16+
container_name: redis-commander
17+
hostname: redis-commander
18+
image: rediscommander/redis-commander:latest
19+
restart: always
20+
depends_on:
21+
- cache
22+
environment:
23+
- REDIS_HOSTS=local:${CACHE_STATIC_IP}:6379
24+
ports:
25+
- '${CACHEADMIN_PORT}:8081'
26+
networks:
27+
vfac:
28+
ipv4_address: ${CACHEADMIN_STATIC_IP}
29+

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0
1+
3.1

wrappers/composer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ docker run \
1414
-v $(realpath ~/.ssh):"/home/vfac/.ssh" \
1515
-w $PWD \
1616
-u $USER_ID:$GROUP_ID \
17-
vfac/envdevjs:${PHP_VERSION} \
17+
vfac/envdevjs:${BASE_VERSION} \
1818
composer "$@"
1919

2020
exit $?

wrappers/php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ docker run \
88
-i \
99
--network=host \
1010
-v "$PWD":"$PWD":ro \
11-
vfac/envdevjs:${PHP_VERSION} \
11+
vfac/envdevjs:${BASE_VERSION} \
1212
php "$@"
1313

1414
exit $?

0 commit comments

Comments
 (0)