Public Repository

Last pushed: a year ago
Short Description
Dockerized traffic light app running on a Raspberry Pi
Full Description

Run a traffic light app in a Docker container on a Raspberry Pi. More details can be found in this blog post.

docker-compose.yml

To simplify running the container use this docker-compose.yml file:

version: '2'
services:
  trafficlight:
    image: stefanscherer/rpi-traffic-light
    devices:
      - "/dev/mem:/dev/mem"
    cap_add:
      - SYS_RAWIO
    restart: always

Then just run

docker-compose up -d
Docker Pull Command
Owner
stefanscherer

Comments (0)