Comments (5)
Mmmh, I had done some tests and Dokku managed to get the right port automatically with the EXPOSE instruction in the Dockerfile.
- With which version of Dokku this happened?
- Did the application already have the proxy configured by a previous deployment? (or fresh app)
from plausible_on_dokku.
I did an app:destroy before, so I believe I started from scratch completely, unless dokku keeps some mapping (but even then, I never used port 5000, and it does seem to be the default)
running dokku version 0.24.2
from plausible_on_dokku.
So, I re-tested with the latest version of Dokku (0.24.7) with a new fresh app and it seems to succeed in retrieving the port coming from the EXPOSE statement of the Dockerfile (see screen below), I will try to re-test with version 0.24.2 of Dokku and for Letsencrypt (443 mapping) when I have time.
from plausible_on_dokku.
I must have messed up somewhere then, or have default config from other apps.
Thanks for investigating, I'll close, seems to be related to me
from plausible_on_dokku.
I know it's been a while but I found the cause that prevents Dokku from auto-detecting the correct port...
While doing another project (uptime_kuma_on_dokku) I noticed that configuring the domain before the first deployment defaults to port 5000 and prevents auto-detection of the port from the Dockerfile.
So for now in the installation guide I have moved the domain configuration to the end, I will do more testing and maybe change the port in the container to port 5000 instead of 80.
from plausible_on_dokku.
Related Issues (10)
- Docs HOT 2
- Permission error when ranch tries to bind to port 80 (:eacces (permission denied)) HOT 1
- App fails to start HOT 6
- Selfhosted Emails with Sendgrid HOT 2
- App container failed to start HOT 1
- Unable to send email HOT 4
- Upgrading to v1.3.0: Syntax error: failed at position 27: SAMPLE BY user_id when running migrations
- Unable to access plausible after deploy HOT 1
- Updated from 1.2 to 1.3 => 502 Bad Gateway HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plausible_on_dokku.