What is the supported way to start a server in .gitlab-ci-yml, so you can run tests against it over http?

I build containers running systemd so that services can be started in them, see this post.