You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Examples of Dockerfiles and Docker Compose setups – from a one-line "hello world" to highly available PostgreSQL and RabbitMQ clusters. Every directory is self-contained and has its own README with usage details.
ELM327 (OBD-II) car emulator + terminal dashboard with live charts and CSV recording
35000
Usage
Most examples are started from their directory:
cd<directory>
docker compose up -d # start
docker compose logs -f # follow logs
docker compose down # stop (add -v to remove volumes)
Directories with only a Dockerfile are built and run directly:
docker build -t <name>.
docker run --rm <name>
Several examples publish the same host ports (e.g. 5432, 5672, 15672, 9000), so run them one at a time or change the port mappings.
Notes
The examples are meant for learning and local testing. Passwords and other credentials in the files are demo values – do not reuse them in production.
GitHub Actions (.github/workflows/docker-image.yml) validates every compose file (docker-compose.yml/.yaml, compose.yml/.yaml) with docker compose config on each push to master, on pull requests and on manual run. It checks syntax and structure only – images are not built or started.
License
GNU Lesser General Public License v3.0 – see LICENSE.
About
Dockerfile and Docker Compose examples: from hello world to HA PostgreSQL (Patroni) and RabbitMQ clusters