Comments (4)
Your app uses an EXPOSE directive in the Dockerfile, so that's the thing your nginx is configured to listen on. If you'd like it to listen on port 80, you can remap the app ports like so:
dokku ports:set $APP http:80:3000
from dokku.
Your app uses an EXPOSE directive in the Dockerfile, so that's the thing your nginx is configured to listen on. If you'd like it to listen on port 80, you can remap the app ports like so:
dokku ports:set $APP http:80:3000
I already did that, the output of dokku port:list
dokku ports:list test-rails
-----> Port mappings for test-rails
-----> scheme host port container port
http 80 3000
So i'm already redirecting from port 80 on my server to port 3000 on my container , or am i missing something ?
from dokku.
What is the domain name you are using to access the app?
from dokku.
Closing as there hasn't been any response in a month. If you're still having this issue, please feel free to respond and we'll dig in further.
from dokku.
Related Issues (20)
- Deploy using Dockerfile gives `The legacy builder is deprecated` warning HOT 4
- Permission denied on django collectstatic HOT 4
- 404 link in documentation HOT 4
- Add something like `dokku git:sync --build-if-changes ...` flag HOT 1
- Overlay2 directory fills silently HOT 24
- open /tmp/build/XXXXX.: no such file or directory
- Cannot upgrade dokku while using Caddy HOT 3
- App does not update after successful deployment using dokku git:from-image HOT 9
- All Heroku getting-started apps fail on arm64/v8 HOT 2
- Containers disappears HOT 7
- remote: Unable to find image 'dokku/dockerfile:latest' locally HOT 9
- Can't install on Ubuntu 23.04 HOT 1
- Heroku buildpack tryes to use irrelevant pgdg distribution HOT 4
- After update from ubuntu 20 to 22, sudo: unable to resolve host dokku: name or service not known HOT 1
- Dokku wildcard subdomain support, including CNAME support HOT 2
- How to start a new process in an existing Dokku dockerfile based deployment HOT 4
- dokku config:set --no-restart fails on remote ssh client HOT 6
- deployfail due to Ubuntu bionic (18.04) moving to apt-archive.postgresql.org HOT 1
- Default NGINX page directly after DigitalOcean Droplet Setup HOT 5
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 dokku.