Browse Source

update port to 8080

master
Thomas Riboulet 6 years ago
parent
commit
7d49e80dba
  1. 3
      .env
  2. 2
      Dockerfile
  3. 2
      Procfile

3
.env

@ -1,5 +1,2 @@
RACK_ENV=production
PORT=80
REDIS_URL=redis://dev1.fsquic.0001.euw1.cache.amazonaws.com:6379/1
#REDIS_URL=redis://localhost:6379/1
PAPERTRAIL_PORT=16261

2
Dockerfile

@ -2,7 +2,6 @@ FROM mcansky/base_ruby:2c7652fa95a2ab9419bb85e81a7c801ca6fa65d2
# Set environment variables.
ENV HOME /var/app
ENV PORT 80
ENV RACK_ENV production
# Define working directory.
@ -10,5 +9,4 @@ ADD . /var/app
RUN cd /var/app; bundle install
EXPOSE 80
CMD ["/usr/local/bin/foreman","run", "web","-d","/var/app"]

2
Procfile

@ -1 +1 @@
web: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}
web: bundle exec puma -t 5:5 -p ${PORT:-8080} -e ${RACK_ENV:-development}

Loading…
Cancel
Save