Docker Compose¶
Example Docker Compose configuration to run ANPR2MQTT as a container. This also requires a .env, or alternatively adding the environment variables directly into the compose file.
services:
anpr2mqtt:
container_name: anpr2mqtt
image: ghcr.io/rhizomatics/anpr2mqtt:release
volumes:
- ./config:/config # Config file lives at /config/anpr2mqtt.yaml inside the container
restart: always
env_file: ./.env # Optional environment variables file