Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How i can build this for ARM server #97

Open
sumersm7 opened this issue May 12, 2022 · 9 comments
Open

How i can build this for ARM server #97

sumersm7 opened this issue May 12, 2022 · 9 comments

Comments

@sumersm7
Copy link

how can i build it to deploye on my ARM server

@FirzenYogesh
Copy link

@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.

@sumersm7 sumersm7 reopened this May 17, 2022
@sumersm7
Copy link
Author

sumersm7 commented May 17, 2022

can you help me with the commands i need to build the image. iam new to docker.

@FirzenYogesh
Copy link

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

@sumersm7
Copy link
Author

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

@FirzenYogesh
Copy link

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.

@sumersm7
Copy link
Author

sumersm7 commented May 17, 2022

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

@sumersm7 sumersm7 reopened this May 17, 2022
@FirzenYogesh
Copy link

FirzenYogesh commented May 17, 2022

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?

@kirtan403
Copy link

@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?

@kirtan403
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants