After upgrade from Gitlab 12.8 to 12.9 sameersbn/gitlab:12.9 I got this error
ERROR: operator class "gin_trgm_ops" does not exist for access method "gin"
In official PostgreSQL docker image is no DB_EXTENSION ENV param, so you have to
manually enable pg_trgm extension.