I am sure it is too general question. But still hope to get some helpful advice.
So I use vagrant to run our php application, we use postgres, rabbitmq and memcached. I set up docker environment. Here's my docker-compose.yml
web:
build: app
ports:
- "80:80"
volumes:
- /Users/ihorsamusenko/my/project:/var/www/app
links:
- db
- rabbit
- memcached
db:
build: postgres
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
rabbit:
image: rabbitmq
memcached:
image: memcached
But with such setup application started working much slower than it used to do. I understand that probably my problem is application specific. But still, maybe there are some common tips for such problems.