GithubHelp home page GithubHelp logo

Help With Setup about mattermost-docker HOT 4 CLOSED

mattermost avatar mattermost commented on July 25, 2024
Help With Setup

from mattermost-docker.

Comments (4)

eungjun-yi avatar eungjun-yi commented on July 25, 2024 1

For example in the one line install I was able to change my host file and point to dockerhost:8065. The only thing I'm finding here is something about 80:80 and that we shouldn't modify the listen address in the service settings.

You can change the listen port by modifying the "80:80". For example, if you want that your mattermost instance listens 8080 instead of 80, modify it to "8080:80". See "ports" section at https://docs.docker.com/compose/compose-file/ for more details.

Am I to assume that the docker IP is the one that's being used?

It's true only if you "restart", not "recreate", the container. docker-compose restart is okay but docker-compose rm && docker-compose run may be not okay.

Note: We have a permission issue on installation on osx. See #6.

from mattermost-docker.

codingncaffeine avatar codingncaffeine commented on July 25, 2024

So it sounds like if I'm opting for nossl, then I would just edit the docker-compose-nossl.yml file and change the 80:80 to 8080:80 or whatever ports I want to use. What I'm not seeing is if there's any way to verify or determine what IP mattermost is using. Or if there's any way to change a config file to set the IP. I don't care in this case if it uses docker's IP..I'm simply trying to verify that it is. I've tried IP:8080:80, also just 8080:80 but still no luck.

It's true only if you "restart", not "recreate", the container

If not, then what is the IP?

When I restart using "docker-compose restart", I can see that the db and app is running so I know I've come that far. I'm probably just over thinking things. Connecting to the one line install was a breeze, but for some reason this has been difficult. I wonder what I'm doing wrong.

from mattermost-docker.

eungjun-yi avatar eungjun-yi commented on July 25, 2024

If not, then what is the IP?

Well, let me make it clear. The IP of the docker container changes when you recreate the container. But you can access your mattermost instance without worrying about it because docker binds the ip and the port to your host.

For example, you can see the port binding when you run docker ps as follows:

$ docker ps
CONTAINER ID        IMAGE                  COMMAND                  CREATED             STATUS              PORTS                            NAMES
c59b85bf96e5        mattermostdocker_app   "/bin/sh -c /docker-e"   2 seconds ago       Up 1 seconds        0.0.0.0:80->80/tcp               mattermostdocker_app_1
78e87818d92b        mattermostdocker_db    "/docker-entrypoint1."   8 days ago          Up 2 seconds        5432/tcp                         mattermostdocker_db_1

0.0.0.0:80->80/tcp means the port 80 of the docker container is bound to the port of your host. You can just open http://<your-host-ip> with your web browser to access your mattermost instance. (I guess you already know your host ip)

from mattermost-docker.

codingncaffeine avatar codingncaffeine commented on July 25, 2024

Ah looks like I may have found the problem. When I run docker ps it only has mattermostdockermaster_app listed. Though when I run docker-compose start it shows both the app and db starting.

from mattermost-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.