-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local docker deploy issue #676
Comments
Unsure, but shouldn't it be on port 3000? |
That's my understanding for the development instructions but for production the docs say
|
3000 doesn't work either, however. |
on OSX - docker is running inside a VM -- called boot2docker docker runs native only on Linux and variants the general instructions are for docker on Linux |
you need to it will not be |
Ah that makes sense. I'll be back at my computer to test this afternoon and will report back. Another question tho: after running docker-compose up I get the server running in a window in that container. How would I get it running as a service?
|
@mhkeller On your Mac, Rocket.Chat on docker is running insider a Linux Virtual Machine (ORACLE VirtualBox, I think) - that is the window that you see. There's no real way of running a VM as a 'service' on the Mac. If you want to run it 'native' as a service on your Mac. You do not want docker (and the extra VM). You will need to install node.js on your Mac first. We currently do not have instructions for doing this ... but after you got node.js installed, go to the demo chat from our home page, and one of the team members will likely be able to assist you. |
@Sing-Li and @mhkeller boot2docker is deprecated. I'll try to run docker on my mac following the new instructions on https://docs.docker.com/installation/mac/ and I'll let you guys know how that goes and probably write a new wiki for using docker to run rocket.chat on a mac. |
@marceloschmidt I was just about to post. You can use now im trying to figure out port forwarding so i can get access rocket chat on other computers than this one. should I open a new issue @Sing-Li |
@mhkeller so you've got it going on your mac? I think @marceloschmidt 's guide will contain the port forwarding info. So just closing this ticket is fine. Thanks for the issue - it helped us to realize we have a hole in the documentation. |
@marceloschmidt - that would be a great user's guide ! Thanks. |
Ya I have it running, thanks for the help. I definitely have questions that the guide could address:
@marceloschmidt thanks for putting the guide together! |
Also worth noting that when you log into the quick start terminal, it prints the IP of the machine. |
many of the walkthroughs on port fowarding describe this
but that doesn't work for me. if there's an alternate way you're finding that would be great. Edited to show the actual ports I'm using |
a question is ... are you running this on a macbook? It is not a typical configuration to use a laptop for a server due to power-save, etc. |
@marceloschmidt hopefully you will cover running docker-compose - with mongo in a separate container. Thanks. |
it's a desktop mac. |
quick q. @marceloschmidt is this something you're currently working on or is longer term? I was going to try and give people a demo this week. I can run it in development mode but it would be great if I could stand it up to see how it's used by the weekend crew. |
I'm currently working on it, but I have close-to-zero knowledge on docker. Picking up things as I go. I'm trying to move as quickly as I can, but honestly I don't think I'll be able to give you very detailed information in just a couple of days. |
Got it. So we're in the same boat then! I'll do some research and if I come across anything that looks useful ill paste it here. Thanks for the help!
|
You can setup port forwarding in your VirtualBox application. In my case, my lan ip was 192.168.25.45 and I assigned port 8080 to port 80 on docker. So other on my LAN could access http://192.168.25.45:8080 and see my docker instance running |
BTW, you can add that port forwarding by running of course, change your ip and local port as desired. |
Interesting so that works with port 8080 but not port 80 so perhaps it's a permissions issue. It also works for me without setting the Host IP to the LAN IP as long as I set it to 8080. This is great for now though! Thanks! |
Adding what you need to change in |
@marceloschmidt did you end up publishing that guide somewhere? |
Nope, never did :( but yesterday I was giving docker another shot and I think I'll do it today again. If all goes as I expect, I'll create a wiki on setting it up. Thanks for the reminder. |
I'm using OS X 10.10.4
I cloned the repository and ran
and got this
This is my first time with docker so I'm not exactly sure of the steps. I also ran
docker pull rocketchat/rocket.chat
which downloaded the image but not sure if that had any effect on this process.When I go to localhost:80 I get nothing.
The text was updated successfully, but these errors were encountered: