How i can build this for ARM server
how can i build it to deploye on my ARM server
@sumersm7 Please refer to the Dockerfile from the mattermost-server repo. I was able to build for arm64 a while back, I just replaced the amd64 to arm64.
can you help me with the commands i need to build the image. iam new to docker.
Yea sure! So first clone the mattermost-server repo and cd into the build directory
After that run the following command
docker build -t mattermost:latest .
This will start the docker build and the image will be available as mattermost:latest
thanks that worked but when i run the image what are the env variables and other container i need to make it work (mysql PostgreSQL web-server).
is there a way to instant message u. if u got the time
I would suggest you to read the official documentation, it has the information you need regarding the web server and database setup. By default it uses PostgreSQL DB, if you want to use mysql, then you should change the docker-compose.yml to accommodate it. The env has a variable for database driver, you should set it to mysql if you want to use mysql database.
Otherwise you can use the defaults provided in this repo itself.
Also take a look at the repo’s docker-compose.yml.
thanks a lot i was able to deploy it on my server
but i think ARM version doesn't have playbook. or i need to have License. coz in my amd64 local version have both playbook and boards
I think playbook is available from v6.7.0. The docker file on the server repo has the version 6.6.x. Maybe try changing that version and check again?
@FirzenYogesh Great instructions. I was able to build the arm64 build from your direction. But as @sumersm7 said, I only see channels. Not playbooks and boards. I'm running v7.2.0. Is there any way to enable it or before docker build?
I was able to add them from the Marketplace! Thanks a lot for the wonderful guide! Now, I'm able to run it from my raspberry pi 4.