Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • 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

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

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

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. 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 almost 7 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...