Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Passenger starting different port always and apache proxy only proxying to 8080

Passenger starting different port always and apache proxy only proxying to 8080

Added by Josep Moscardo over 6 years ago

Hi,

I see that with docker run in my local workstation it  is fine, but when deploying it to a DC/OS cluster , the passenger process is listening every time on a different port:

app         104  1.3  0.1 234748 24472 ?        Sl   09:23   0:00 /usr/local/bundle/bin/passenger start -p 14556 -a 0.0.0.0 --min-instances 1 --max-pool-size 3 --spawn-method smart --nginx-config-template docker/nginx.conf.erb --max-preloader-idle-time 0

oot@d60131c113ec:/usr/src/app# cat /etc/apache2/sites-enabled/openproject.conf 
<VirtualHost *:80>
 ServerName _default_
 DocumentRoot /usr/src/app/public

 ProxyRequests off

 <Location />
   ProxyPass http://127.0.0.1:8080/ retry=0
   ProxyPassReverse http://127.0.0.1:8080/
 </Location>
</VirtualHost>

How can I sort this out?

Best


Loading...