Integrating External Configuration Files into IE Publisher App Package

0
Hello, I require assistance with integrating configuration files for a NATS server application packaged with IE Publisher for Siemens IE devices using Mendix. My current setup includes Docker Compose and mounted config files (hub.conf and accounts.conf). However, I understand that IE devices do not permit direct Docker access, and instead, we can only install the.app package. My question is: How can I incorporate these config files (hub.conf and accounts.conf) into the.app package? Once included, how do I instruct NATS to utilize these config files? Could you provide suggestions for managing these configs post-deployment? I'm currently encountering difficulties in this area and would greatly appreciate any guidance. Version: '3.8' Services: hub-server: image: nats:alpine container_name: hub-server volumes: -./Configs/hub.conf:/etc/nats/hub.conf -./Configs/accounts.conf:/etc/nats/accounts.conf command: - "-c" - "/etc/nats/hub.conf" ... other configurations...
asked
1 answers
1

Hi Volkan,

 

check out our application example on how to use configuration files for edge applications. :) This should explain everything. 

 

https://github.com/industrial-edge/hello-world-at-scale

 

Docs:

https://docs.eu1.edge.siemens.cloud/develop_an_application/ieap/configuring_an_edge_app/configuring_an_edge_app.html

 

answered