This project uses Make as a convenient wrapper around Docker Compose.
Make is not mandatory, but it makes daily work faster and less error-prone.
Instead of typing:
docker compose build
docker compose up -d
docker compose logs -fYou can simply type:
make run
make logsBuilds the image (if needed) and starts the bot.
make runEquivalent to:
docker compose build
docker compose up -dBuild Docker images:
make buildBuild images without cache (useful if dependencies changed):
make build-no-cacheStart containers without rebuilding:
make upStop running containers:
make stopStop and remove containers (keeps database and logs):
make downRestart containers:
make restartFull rebuild + restart:
make rebuildThis runs:
docker compose downdocker compose build --no-cachedocker compose up -d
Follow logs in real time:
make logs- GNU Make
- Docker
- Docker Compose v2
Linux:
Debian / Ubuntu:
sudo apt install makeArch Linux:
sudo pacman -S makemacOS (brew):
brew install makeWindows:
- Use WSL (recommended)
- Or install Make via Chocolatey / Scoop