Hello everyone, I have an issue that might be silly or I missing something. I can't automate importing projects with docker compose.
services:
edge:
image: inductiveautomation/ignition:latest
ports:
- 9050:8088
volumes:
- edge-data:/usr/local/bin/ignition/data
- ./gw-init/backup.gwbk:/backup.gwbk
networks:
edge:
aliases:
- edge-server
environment:
- IGNITION_EDITION=edge
- GATEWAY_ADMIN_PASSWORD=password
- ACCEPT_IGNITION_EULA=Y
command: >
-n Edge
-r /backup.gwbk
trans:
image: inductiveautomation/ignition:latest
ports:
- 9051:8088
volumes:
- trans-data:/usr/local/bin/ignition/data
- ./gw-init/Trans:/usr/local/bin/ignition/data/projects/Trans
networks:
edge:
aliases:
- trans-server
environment:
- IGNITION_EDITION=standard
- GATEWAY_ADMIN_PASSWORD=password
- ACCEPT_IGNITION_EULA=Y
command:
-n TranslationManager
volumes:
edge-data:
trans-data:
networks:
edge:
My docker-compose looks like that, but the trans container fail to start and I have this errors in logs:
jvm 1 | 2024/01/31 09:24:07 | E [c.i.i.g.p.ProjectFileTree ] [09:24:07]: Unable to create resource dir: /usr/local/bin/ignition/data/projects/.resources
jvm 1 | 2024/01/31 09:24:07 | E [c.i.i.g.p.ProjectFileTree ] [09:24:07]: Error creating digest for resourceManifest=/usr/local/bin/ignition/data/projects/Trans/com.inductiveautomation.perspective/views/TranslationsManager/EmbView/Key/resource.json, file=thumbnail.png
jvm 1 | 2024/01/31 09:24:07 | java.nio.file.NoSuchFileException: /usr/local/bin/ignition/data/projects/.resources/9190b2661556b3c4c485f975e7184ce6243b04dbaa7224013d37632aabec0841
Thanks for the help