You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this is not the right place but I couldn't see any other support channel for this.
I'm looking to use pm2 with keymetrics for an app we're developing. The app itself is a node app build in hapi, that runs with in a Docker container and deployed to ElasticBeanstalk.
I've tested it locally on my machine and it works, but when I deploy to eb, the server does get picked up - but no apps - and then eventually it goes to show a status of offline (although the status icon at the top next to the arrows shows green, and it shows the correct PM2 and node version).
My config looks like this for the Dockerfile:
FROM node:wheezy
EXPOSE 80 9000 43554
ENV APP_DIR /opt/app
WORKDIR ${APP_DIR}
ADD . $APP_DIR
RUN wget -qO- http://install.keymetrics.io/install.sh | SECRET_ID=... PUBLIC_ID=... bash
RUN npm install -g pm2
RUN pm2 install pm2-server-monit
RUN npm install
RUN npm run build
CMD ["pm2", "start", "index.js", "-i", "0", "--name", "app-docker", "--no-daemon"]
And finally in the security group in ElasticBeanstalk I've opened port 43554 as a custom rule to 0.0.0.0/0.
But nothing. When I do a fresh deploy it does show the server #1 tool as online for a short while before it goes offline. The app itself is running fineI'm wondering if anyone has found a solution to this?
The text was updated successfully, but these errors were encountered:
Turns out after a few days digging - the image was being build on CircleCI, and was contacting the bucket first, so blocking the bucket from getting a second server (currently this a free tier)
Hi there,
Apologies if this is not the right place but I couldn't see any other support channel for this.
I'm looking to use pm2 with keymetrics for an app we're developing. The app itself is a node app build in hapi, that runs with in a Docker container and deployed to ElasticBeanstalk.
I've tested it locally on my machine and it works, but when I deploy to eb, the server does get picked up - but no apps - and then eventually it goes to show a status of offline (although the status icon at the top next to the arrows shows green, and it shows the correct PM2 and node version).
My config looks like this for the Dockerfile:
In the EB Dockerrun file I have
And finally in the security group in ElasticBeanstalk I've opened port
43554
as a custom rule to0.0.0.0/0
.But nothing. When I do a fresh deploy it does show the server #1 tool as online for a short while before it goes offline. The app itself is running fineI'm wondering if anyone has found a solution to this?
The text was updated successfully, but these errors were encountered: