this is my run commad:
sudo docker run --detach \
--hostname localgitlab.com \
--publish 9443:443 --publish 9980:80 --publish 9922:22 \
--name gitlab \
--restart always \
--volume ~/gitlab/config:/etc/gitlab: \
--volume ~/gitlab/logs:/var/log/gitlab: \
--volume ~/gitlab/data:/var/opt/gitlab: \
--platform linux/amd64 --privileged=true \
gitlab/gitlab-ce:latest
but it stops here
Recipe: gitlab::database_migrations
* ruby_block[check remote PG version] action nothing (skipped due to action :nothing)
* rails_migration[gitlab-rails] action run
I'm not sure if I can use a m1 mac as a gitlab server?
And I set up gitlab successful on my inter chip mac.
Anybody knows the reason?
There is a post in Gitlab forums discussing this but there is no solution.
The only solution I found so far is to use the yrzr/gitlab-ce-arm64v8 image instead of the official GitLab one. This image is built with arm64 compatibility and released at the same time as the official image.
A similar image with the EE version of GitLab is here gsdukbh/gitlab-ee-arm64, it is maintained but it doesn't contain all the versions.
BTW, this is my docker-compose.yml tested on a Mac M1 if you want to give it a try: