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
- 8043:8043
environment:
- ACCEPT_IGNITION_EULA=Y
- GATEWAY_ADMIN_PASSWORD=password
- IGNITION_EDITION=standard
- TZ=America/Chicago
- DISABLE_QUICKSTART=true
volumes:
- ignition_data:/usr/local/bin/ignition/data
command: >
-n Ignition-Nightly
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:
mail:
image: dockage/mailcatcher:latest
ports:
- 2080:1080
- 2025:1025
networks:
ignition:
networks:
ignition:
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
No Comments