I am running Ignition 8.1.10 Maker Edition in a Docker container. I am using the official image from Inductive Automation “inductiveautomation/ignition:latest”. On initial creation and start of the container for Maker Edition I see 15 modules installed and no errors.
Good so far, but if I stop the container and restart it I see this.
So on the restart of my container, invalid modules for Maker Edition get installed. I am confused as to how this is happening.
Here is my Docker Compose file.
version: '3.4'
services:
gateway:
image: inductiveautomation/ignition:latest # You can change `latest` to a specific version, e.g. `8.0.5`
ports:
- 9043:8043
- 9088:8088
container_name: ignition-test
volumes:
- type: volume
source: gw_data
target: /usr/local/bin/ignition/data
environment:
ACCEPT_IGNITION_EULA: Y
GATEWAY_ADMIN_USERNAME: admin
GATEWAY_ADMIN_PASSWORD_FILE: /run/secrets/gateway-admin-password
IGNITION_EDITION: maker
TZ: UTC # see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
secrets:
- gateway-admin-password
command: >
-n APB-MakerEdition_IA
-m 4096
--
wrapper.java.initmemory=512
-Dignition.allowunsignedmodules=true
db:
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
# Note that the 1433 port doesn't need to be published here for the gateway container to connect,
# only for external connectivity to the database.
- 1433:1433
container_name: sql-server-db
volumes:
- type: volume
source: db_data
target: /var/opt/mssql
- type: bind
source: ./db-backups
target: /backups
- type: bind
source: ./db-init
target: /docker-entrypoint-initdb.d
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
env_file:
- ./envFile/MSSQL/Settings.env
- ./envFile/MSSQL/SA_Password.env
secrets:
gateway-admin-password:
file: secrets/GATEWAY_ADMIN_PASSWORD
volumes:
db_data:
gw_data:
Am I doing doing something wrong? Or is there another environment variable that needs to be set?
I have not experienced this with the image maintained by Kevin Collins. I was trying to use the official image from Inductive Automation.