pip install -r requirements.txt
docker build . -t nqueens
This will start postgres and call main.py, logging solution count for specified board size in docker-compose.yml to stdout.
docker-compose up
You can inspect the running postgres container.