Coder Social home page Coder Social logo

Comments (5)

nevson avatar nevson commented on April 28, 2024

fyi, I think the configuration from docker-gitlab can be a good example. Also it would be awesome if you could link in custom docker containers for MySQL and Redis that should be used instead of the internal one as shown here and here.

from mattermost-server.

crspeller avatar crspeller commented on April 28, 2024

You can access the config by running these commands:

  1. docker exec -ti mattermost-dev /bin/bash
  2. cd src/github.com/mattermost/platform/config
  3. vi config_docker.json
  4. Make your changes
  5. docker stop mattermost-dev
  6. docker start mattermost-dev

from mattermost-server.

nevson avatar nevson commented on April 28, 2024

I see, thanks for the hint. Anyhow it'd be nice if this can be done when starting the container. This would make upgrading the docker container much easier as you can simply pass in a configuration on startup instead of manually editing the config in the container.

from mattermost-server.

Hainish avatar Hainish commented on April 28, 2024

๐Ÿ‘

You can also copy the file from the docker container to the host, then use that as the authoritative config file, sharing it with the container at runtime:

docker run -d --name=mattermost-tmp mattermost/platform:helium
docker cp mattermost-tmp:/go/src/github.com/mattermost/platform/config/config_docker.json .
docker rm -f mattermost-tmp

.... edit config file in host ...

docker run --name mattermost-dev -d --publish 8065:80 -v $(pwd)/config_docker.json:/go/src/github.com/mattermost/platform/config/config_docker.json mattermost/platform:helium

from mattermost-server.

crspeller avatar crspeller commented on April 28, 2024

Closing because question has been answered. If you still have an question, feel free to continue the discussion at http://forum.mattermost.org/.

from mattermost-server.

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.