When run gitlab-ce docker on apple m1 stuck on Recipe: gitlab::database_migrations

I try to run gitlab-ce docker on my apple m1 but stuck when run Recipe: gitlab::database_migrations

This is my compose file

version: “3.4”
services:
gitlab:
image: ‘gitlab/gitlab-ce’
restart: always
hostname: ‘gitlab.local’
container_name: gitlab-ce
platform: linux/amd64
links:
- postgresql:postgresql
environment:
GITLAB_OMNIBUS_CONFIG: |
postgresql[‘enable’] = true
gitlab_rails[‘db_username’] = “gitlab”
gitlab_rails[‘db_password’] = “gitlab”
gitlab_rails[‘db_host’] = “postgresql”
gitlab_rails[‘db_port’] = “5432”
gitlab_rails[‘db_database’] = “gitlabhq_production”
gitlab_rails[‘db_adapter’] = ‘postgresql’
gitlab_rails[‘db_encoding’] = ‘utf8’
external_url ‘http://gitlab.local:7778
ports:

both ports must match the port from external_url above

- "7778:7778"
- "443:443"

the mapped port must match ssh_port specified above.

- "7722:22"

the following are hints on what volumes to mount if you want to persist data

volumes:
  - gitlab-config:/etc/gitlab:rw
  - gitlab-logs:/var/log/gitlab:rw
  - gitlab-data:/var/opt/gitlab:rw

postgresql:
restart: always
image: postgres:12-alpine
container_name: gitlab-postgres
platform: linux/amd64
environment:
- POSTGRES_USER=gitlab
- POSTGRES_PASSWORD=gitlab
- POSTGRES_DB=gitlabhq_production
- TZ=Asia/Bangkok
- PGDATA=/data
volumes:
- gitlab-db-data:/data:rw
ports:
- “5432:5432”
volumes:
gitlab-db-data:
gitlab-config:
gitlab-logs:
gitlab-data:

Any Help ?