Docker Compose¶
Use the default docker-compose.yml with Docker Swarm for a containerized
Bindizr deployment.
The stack runs Bindizr, PostgreSQL, and BIND9 on an overlay network, using Docker configs for BIND9 configuration.
The compose files set Bindizr options through environment variables rather than a config file — see Configuration for the mapping.
Using a different database¶
The stack is PostgreSQL-only: BINDIZR_DATABASE_TYPE and
BINDIZR_DATABASE_URL are pinned to the bundled postgres service. Edit them
in the compose file to switch, and drop postgres and its volume once unused.
- MySQL —
BINDIZR_DATABASE_TYPE=mysql, withBINDIZR_DATABASE_URLpointing at your server. - SQLite —
BINDIZR_DATABASE_TYPE=sqlite, withBINDIZR_SQLITE_FILE_PATHfor the path;BINDIZR_DATABASE_URLis silently ignored. The image already defaults to/var/lib/bindizr/bindizr.dbinside thebindizr-datavolume.