timotheeg / nestrischamps

A web-based OCR and restreamer system for NES Classic Tetris players
MIT License
48 stars 12 forks source link

Investigate whether nestrischamps can be run locally with docker #86

Open timotheeg opened 3 years ago

timotheeg commented 3 years ago

Can we have a docker container to run the nodejs app, and docker-compose to depend on postgres DB?

Advantages:

TheRealTomelloSoulMan commented 3 years ago

I'm working on this, and getting some experience with docker btw... I've been able to run nestrischamps in a container, now i'm going for docker-compose and the DB side

TheRealTomelloSoulMan commented 3 years ago

I guess the .env file in nestrischamps is a caveat, for twitch id and secret and all of that

timotheeg commented 3 years ago

Thanks @TheRealTomelloSoulMan! With docker, all environment variables should be declared in the container definition, the .env file should not be needed with docker I reckon.

TheRealTomelloSoulMan commented 3 years ago

Well, I've done a preliminary test and all seems to work, except for old games management which gives "internal server error". I'll give you more details in Discord as it lets me attach some files