Service control for docker-compose for Cog

Currently cog.gitlap.com runs Cog via a docker-compose process, this doesn't work for effective service startup and needs refactored.