Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker containers don't run as advertised from blog post #1

Closed
ddelnano opened this issue Oct 20, 2015 · 2 comments
Closed

Docker containers don't run as advertised from blog post #1

ddelnano opened this issue Oct 20, 2015 · 2 comments

Comments

@ddelnano
Copy link

I was attempting to follow your blog post, however, when running docker-compose build there does not exist a Dockerfile in the docker/development/nginx/ directory so it fails. I added a simple Dockerfile like the following:

FROM fntlnz/nginx:1.8.0

However it has a problem accessing redis after being able to build.

@fntlnz
Copy link
Contributor

fntlnz commented Oct 21, 2015

Hi! I forgot to update the docker-compose.yml.development to use the fntlnz/nginx:1.9.5 image.
I pushed a change to it a few minutes ago

I also made some changes to the php-fpm dockerfile so I suggest you to do the following

git pull
cp docker/docker-compose.yml.development docker-compose.yml
docker-compose build
docker-compose up

For redis it's possible that you haven't created the redis.local.php under the config/ folder?
You can create it with a cp config/redis.local.php.dist config/redis.local.php

Thank you for your feedback!

@ddelnano
Copy link
Author

No problem and yea I figure that out about the redis. At first I didn't want to read through all the DI code so I just hard coded it to get it to work.

samsonasik added a commit that referenced this issue Nov 29, 2015
Fix symfony dispatcher to use the RouteInfo class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants