go to post Evgeny Shvarov · Apr 18, 2021 Why do you need to restart IRIS in a working docker container? If you need to change something in a container the typical approach is to rebuild the container's image and deploy it again. It looks like you are trying to reinvent some approach working with remote servers to containers. Why not using the best practice for containers and leverage it's power? What is the idea where you need SSH access and IRIS restarts with containers on a constant basis?
go to post Evgeny Shvarov · Apr 18, 2021 Hi Robert! What are the possible reasons to add SSH access to the deployed Docker container? For Docker Desktop cases the access could be reached with: docker exec or docker-compose exec
go to post Evgeny Shvarov · Apr 18, 2021 Hi Mike! It's great that you got an answer that works for you! I think you want to accept Francois's reply as an accepted answer?
go to post Evgeny Shvarov · Apr 15, 2021 This will necessary demand the package name refactoring - Api as a first package is probably too much. dc. or skalese. much better. More here.
go to post Evgeny Shvarov · Apr 15, 2021 We'll think about it - it's very different from module deployment. This is for Application deployment more, but this could be a part of ZPM.
go to post Evgeny Shvarov · Apr 15, 2021 And it looks like that if I want to create a database I need to have two entries: SYS.Databases and Databases. Here is the minimal config to create IRISAPP namespace with one database IRISAPP in /irisapp folder. { "Defaults":{ "DBDIR" : "${MGRDIR}", "DBDATA" : "${DBDIR}irisapp/" }, "SYS.Databases":{ "${DBDATA}" : {} }, "Databases":{ "IRISAPP" : { "Directory" : "${DBDATA}" } }, "Namespaces":{ "IRISAPP": { "Globals":"IRISAPP" } } } Works. I use it in the following way to set up a docker container before loading the ZPM dev module into it.
go to post Evgeny Shvarov · Apr 15, 2021 Got it. This is if I want special parameters like Expansion size, thanks.
go to post Evgeny Shvarov · Apr 15, 2021 Wow. So now we can setup the environment using JSON and do more things than we can with %Installer, right? Like users, roles, mappings, etc. Great feature!
go to post Evgeny Shvarov · Apr 15, 2021 Very interesting, @Lorenzo Scalese ! iris-config.json - empty?
go to post Evgeny Shvarov · Apr 14, 2021 Thanks @Nikolay Solovyev! How to use load "github repo" feature using docker container? It says there is no git inside.
go to post Evgeny Shvarov · Apr 12, 2021 And we updated the images with ZPM 0.2.14 too: intersystemsdc/iris-community:2020.3.0.221.0-zpm intersystemsdc/iris-community:2020.4.0.547.0-zpm intersystemsdc/iris-ml-community:2020.3.0.302.0-zpm intersystemsdc/irishealth-community:2020.3.0.221.0-zpm intersystemsdc/irishealth-community:2020.4.0.547.0-zpm And to launch IRIS do: docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2020.3.0.221.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2020.4.0.547.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-ml-community:2020.3.0.302.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2020.3.0.221.0-zpm docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2020.4.0.547.0-zpm And for terminal do: docker exec -it my-iris iris session IRIS and to start the control panel: http://localhost:9092/csp/sys/UtilHome.csp To stop and destroy container do: docker stop my-iris
go to post Evgeny Shvarov · Apr 10, 2021 Thanks, Robert! So officially no, got you. Inherited classes - a good one! Never thought about it like that. Object property yes, but in fact could be a one-many.
go to post Evgeny Shvarov · Apr 8, 2021 Hi Ram! We see the request to Open Exchange, but you need to add a License to the repository - e.g. MIT License. This is a mandatory thing to submit for Open Exchange.
go to post Evgeny Shvarov · Apr 3, 2021 zpm-registry.yaml in the IRIS installation folder. What is the IRIS installation folder expected? /bin? /lib? /mgr?
go to post Evgeny Shvarov · Apr 2, 2021 Just to give my 5 cents on this: it's not great to suggest unsupported approaches to solve problems. But for us it is always great feedback what features we could include the support for in the product. @Vitaliy.Serdtsev , thank you for your continuous willingness to help developers to solve their issues. @Vic Sun your point is very fair - it's almost impossible to support unsupported usage and it can cause unpredictable problems. Thank you all!
go to post Evgeny Shvarov · Mar 30, 2021 I will also recommend checking the VSCode Playlist in DC Youtube e.g.this video.
go to post Evgeny Shvarov · Mar 30, 2021 The folder structure gets much clearer with this approach. You have all the files related to one project/package in one folder. Would it work as a motivating case?