Comments (5)
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.
You can access the config by running these commands:
docker exec -ti mattermost-dev /bin/bash
cd src/github.com/mattermost/platform/config
vi config_docker.json
- Make your changes
docker stop mattermost-dev
docker start mattermost-dev
from mattermost-server.
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.
๐
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.
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)
- Landing page:ย clicking on "remember my preference" does not tick the associated checkbox HOT 3
- webp not working if file is animated HOT 1
- Getting 403 Forbidden Error when using incoming webhook. HOT 2
- Do Not Disturb HOT 2
- Invalid key signature since today April 7th 2024 HOT 2
- Add plugin API to allow plugins to fetch their own pluginID HOT 2
- Webapp and mmctl not returne full list incoming webhooks HOT 4
- Expired GPG key HOT 1
- Using Official MySQL to Postgresql Guide Resulting in Failure Due to Text vs JSONB Formatting HOT 10
- Webapp: Updated channel menu HOT 2
- filestore: S3 implementation should return an error on ListDirectory method if the object is a file HOT 1
- Plugin Token Auth Failing HOT 3
- Unread channels appear as if read after a few minutes HOT 2
- Channel header does not render properly when using code block HOT 5
- api: wrong permissions on file uploaded to channel HOT 8
- root.html updated even when not needed HOT 1
- Remove Experimental label: User status away timeout HOT 3
- NPM version dont match client vs types HOT 1
- Cannot read property 'data' of undefined HOT 5
- Mattermost v9.8 HOT 1
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 mattermost-server.