BlitzQuiz is a self-hosted quiz application that can be deployed easily using Docker. It supports MySQL database connectivity and can be integrated into your existing Docker environment.
8080 by default.Create a compose.yaml file with the following configuration:
services:
quizblitz:
image: raphaeljaeger/blitzquiz:latest
container_name: blitzquiz
restart: unless-stopped
ports:
- "8080:8080"
environment:
DB_HOST: "your-mysql-host"
DB_PORT: "3306"
DB_NAME: "quiz"
DB_USER: "quiz"
DB_PASSWORD: "your-secure-password"
Replace the database settings with your actual MySQL credentials and connection details.
Start the application:
docker compose up -d
Once the container is running, access BlitzQuiz at:
If Docker is running on a remote server, replace localhost with the server's IP address or hostname.
The following environment variables are available:
| Variable | Required | Default | Description |
|---|---|---|---|
DB_HOST | Yes | None | Hostname or IP address of the MySQL server |
DB_PORT | No | 3306 | MySQL server port |
DB_NAME | Depends on application configuration | quiz | Name of the database |
DB_USER | Yes | None | MySQL username |
DB_PASSWORD | Yes | None | MySQL password |
Note: Ensure that the MySQL server is reachable from the container and that the configured user has the necessary database permissions.
Docker Hub: https://hub.docker.com/r/raphaeljaeger/blitzquiz
Pull the latest image:
docker pull raphaeljaeger/blitzquiz:latest
To update to the latest image version:
docker compose pull
docker compose up -d
Content type
Image
Digest
sha256:03a5f4da9…
Size
8.5 MB
Last updated
about 4 hours ago
docker pull raphaeljaeger/blitzquiz