Simplify setup by using Docker #405
Labels
backend
Server related
chess logic
Chess engine related
database
Database related
general
General problems or issues
Todo:
The Plan
We aim for a simplified setup, ideally to be executed on a Raspberry Pi 5.
Here's a diagram illustrating the necessary application containers:
Front-end
The front-end is completed. Refer to the frontend folder.
Back-end
The back-end is pending.
It requires integration with the chess-board driver.
Might also need to adjust the python code to use the Stockfish UCI and the database.
Database:
Consider using the official image: https://hub.docker.com/_/postgres
Chess-logic
A Docker image for this component already exists. Refer to: https://github.com/tchorwat/stockfish
To run the Docker image, use the following command:
Docker Compose
We can use Docker Compose to manage the containers.
Here's an example of a
docker-compose.yml
file:The text was updated successfully, but these errors were encountered: