Seperate database and rails from local

Hi All,

Currently my gitlab CE is running on standalone machine and i would like to separate database and rails to a new dedicated server.

Is that possible ??