Ignition Dev Environment using Docker Compose
Use docker compose with the following file/text to set up a development environment running on port 8088 with a generic login of admin/password.
Feel free to change the exposed/mapped port numbers (left of the colon) and the password for the gateway and the username and passwords for the database as needed/required.
You can also change from the Ignition image latest version to a specific version or the nightly development branch using the following as examples:
- inductiveautomation/ignition:latest
- inductiveautomation/ignition:8.1
- inductiveautomation/ignition:8.1.25
- inductiveautomation/ignition:nightly
version: '3'
services:
ignition:
image: inductiveautomation/ignition:latest
ports:
- 8088:8088
environment:
- GATEWAY_MODULES_ENABLED=alarm-notification,logix-driver,modbus-driver-v2,opc-ua,perspective,reporting,sql-bridge,symbol-factory,tag-historian,vision,web-browser,web-developer
- ACCEPT_IGNITION_EULA=Y
- GATEWAY_RESTORE_DISABLED=true
- GATEWAY_ADMIN_PASSWORD=password
- IGNITION_EDITION=standard
- TZ=America/Chicago
- DISABLE_QUICKSTART=true
volumes:
- ignition_data:/usr/local/bin/ignition/data
networks:
ignition:
db:
image: mariadb:latest
ports:
- 3306:3306
environment:
- MARIADB_DATABASE=ignition
- MARIADB_USER=ignition
- MARIADB_PASSWORD=password
- MARIADB_ROOT_PASSWORD=password
volumes:
- db_data:/var/lib/mysql
networks:
ignition:
networks:
ignition:
driver: bridge
volumes:
ignition_data:
db_data:
To connect Ignition to the database, use the following connection string in the connection configuration:
jdbc:mariadb://db:3306/ignition