GithubHelp home page GithubHelp logo

Comments (11)

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

That should work. Could you check what docker-compse ps shows about the port mapping of web container?

from mattermost-docker.

JohnBueno avatar JohnBueno commented on July 25, 2024

Specifically I was trying to install an enterprise trial version for evaluation. Wasn't able to get it working yesterday but seems to work now following these instructions. https://docs.mattermost.com/install/prod-docker.html. Noticed some issues changing the port mapping after I had already run docker-compose build. Either way everything seems to be working now. Thank you for the reponse.

from mattermost-docker.

activedecay avatar activedecay commented on July 25, 2024

@npcode
I'm getting 502 Bad Gateway after following these instructions, setting "8081:80" in docker-compose.yml

i did run docker-compose up a couple of times, so Recreating was printed...

$ git clone https://github.com/mattermost/mattermost-docker.git -b team-and-enterprise mattermost
$ cd mattermost/
$ newgrp docker
$ docker-compose build
$ nano ./docker-compose.yml # changed a line to `    - "8081:80"'
$ docker-compose up -d
>>> mattermost_db_1 is up-to-date
>>> mattermost_app_1 is up-to-date
>>> Recreating mattermost_web_1

I did not edit the SSL things and still getting bad gateway (see #31, but it was no help)
But when I did enable SSL, it still wasn't working right. Still had bad gateway. Is my hostname supposed to go somewhere?

from mattermost-docker.

lukepolo avatar lukepolo commented on July 25, 2024

@activedecay I have the same issue

from mattermost-docker.

lukepolo avatar lukepolo commented on July 25, 2024

Also my DB does not want to stay up

image

from mattermost-docker.

activedecay avatar activedecay commented on July 25, 2024

Look for the changes in a patch a few days ago, they've not released the fix but it's in a commit.

Also, to help you find the file with the error, run docker compose up without -d

docker-compose up
... 

@lukepolo, there will be an obvious error on some line number, i think 612, then you can search this repo for the error message, and get the patch of some file. it's really easy. i just copied that text, and ran docker-compose again. boom!

i found it

#83

from mattermost-docker.

billmoling avatar billmoling commented on July 25, 2024

I am not sure if this 80 port is meaning for app or web? I want to change the yml file to 8081:80, but the app container still 80. I would get the 502 bad gateway.
the error like this:
2017/02/22 09:28:58 [error] 11#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 27.115.44.67, server: , request: "GET / HTTP/1.1", upstream: "http://172.17.0.7:80/", host: "139.219.237.83:58060"

from mattermost-docker.

activedecay avatar activedecay commented on July 25, 2024

Make sure you have the latest. I think this is fixed in a new release.

from mattermost-docker.

billmoling avatar billmoling commented on July 25, 2024

from mattermost-docker.

activedecay avatar activedecay commented on July 25, 2024

#83 (comment) please see this exact comment.

from mattermost-docker.

billmoling avatar billmoling commented on July 25, 2024

Yes, I already modified the docker-entrypoint1.sh with this commit

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.