Skip to content

Commit

Permalink
Added redis container
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Afanasev committed Mar 17, 2019
1 parent 8b044c3 commit dca712d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ services:
args:
- INSTALL_XDEBUG=true
- INSTALL_OPCACHE=true
- INSTALL_REDIS=true
volumes:
- ./source:/var/www:cached
depends_on:
- postgres
- redis
expose:
- "9000"

Expand All @@ -44,15 +46,22 @@ services:
context: ./docker/php-cli
args:
- INSTALL_XDEBUG=true
- INSTALL_REDIS=true
volumes:
- ./source:/var/www:cached
working_dir: /var/www
depends_on:
- postgres
- redis

node:
image: node:10-alpine
volumes:
- ./source:/var/www
command: yarn encore production --watch
working_dir: /var/www
working_dir: /var/www

redis:
image: redis:alpine
expose:
- "6379"

0 comments on commit dca712d

Please sign in to comment.