create docker/.env
file. It should be same as .env
file in necktie project
- We recommend to look into all possible logs during debug. How to do that is explained below.
- Before restarting consumer, we recommend to clear its log. Its not automatic!
- If you get stuck, and this page didn't help you. Don't hesitate to ask.
docker-compose up
will start gateway- Update
gateway_host
parameter inparameters.yml
in necktie project to your local IP address (NOT localhost or 127..1). This redirects necktie to your local necktie-gateway - Its recommended to update also
parameters.yml
of necktie-gateway project. Setrabbit_url
andelastic_host
to your local IP address.
- Open rabiMQ url. Its usually localhost:15672.
- If url doesn't work, you can find correct port in necktie docker-compose.yml file
- Login credentials can be found in necktie readme file
- Look into
docker-compose.yml
and look for exposed supervisor port (usually 9005). - Go to
localhost:<port>
and enter user name and password. - You can find password in Necktie project:
app/config/parametes.yml
.
- Go to supervisor page.
- Click to name of consumer. You will be redirected to consumer log page.
- Go to localhost:9080/app_dev.php/.
- In left menu click to
Logger