I tried using Ignition with Docker compose but now I'm bogged down:
This code works fine:
services:
gateway:
image: inductiveautomation/ignition
ports:
- "9001:8088"
volumes:
- gw-data:/usr/local/bin/ignition/data
environment:
- ACCEPT_IGNITION_EULA=Y
- GATEWAY_ADMIN_USERNAME=admin
- GATEWAY_ADMIN_PASSWORD= password
- IGNITION_EDITION=standard
command: >
-n gateway-1
volumes:
gw-data:
But if I modify it for mapping the volume in my folder the container stop
services:
gateway:
image: inductiveautomation/ignition
ports:
- "9001:8088"
volumes:
- ./gw-data:/usr/local/bin/ignition/data
environment:
- ACCEPT_IGNITION_EULA=Y
- GATEWAY_ADMIN_USERNAME=admin
- GATEWAY_ADMIN_PASSWORD=password
- IGNITION_EDITION=standard
command: >
-n gateway-1
the log:
init | 2022/11/24 07:39:13 | Parsed systemName argument; new value: gateway-1
init | 2022/11/24 07:39:13 | Creating init.properties file
init | 2022/11/24 07:39:13 | Adding SystemName=gateway-1 to init.properties
init | 2022/11/24 07:39:13 | Creating gateway.xml
cp: cannot stat '/usr/local/bin/ignition/data/gateway.xml_clean': No such file or directory
That makes me crazy ...
I use Docker on Windows 10 all update
If someone has the idea?