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.
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.
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.
👍
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.
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.
Related Issues (20)
- Unwanted mandatory field in typescript (createPost) HOT 2
- Add download button to system logs page HOT 4
- Elasticsearch returning not all results HOT 1
- Search function in System Console logs page should consider logs fields HOT 2
- uploadFile crash -> channel_id is missing in the url, but defined int the form data HOT 1
- no push notifications on mobile app HOT 8
- No `self-serve-status` request should be sent from the client when the server is running without a license.
- Gitlab Authentication Fail - Bad response from token request
- Could not import "github.com/mattermost/platform/model" HOT 3
- Bug with drafts HOT 1
- Grammar fault in french version HOT 1
- mmctl auth list output is ill formatted if username is short HOT 2
- Quartz Theme - "Jump to recents" toast text isnt clearly visible HOT 4
- Pasting text using crtl+v onto a text should only create a link if an URL is passed HOT 7
- Add past as plain text option to Desktop App HOT 2
- Add toggle to switch between plain view and formatted view in system logs page HOT 2
- Browse Channels modal buttons are not having consistent styling HOT 1
- API examples imply incorrect order HOT 2
- Accessibility: channel list scrollbar is hard to use, and inconsistent with rest of app HOT 4
- ENORMOUS BUG: tab nickname completion can obliterate message / post after HOT 3
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.