just found out that e621 is (a) open source and (b) runs on ruby on rails apparently?? https://github.com/e621ng/e621ng/blob/master/docker-compose.yml