diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ee34642 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +ARG IMAGE=intersystemsdc/iris-community +FROM $IMAGE + +USER root + +WORKDIR /opt/irisapp +RUN chown ${ISC_PACKAGE_MGRUSER}:${ISC_PACKAGE_IRISGROUP} /opt/irisapp +USER ${ISC_PACKAGE_MGRUSER} + +COPY MDX2JSON MDX2JSON +COPY module.xml module.xml +COPY iris.script /tmp/iris.script + +RUN iris start IRIS \ + && iris session IRIS < /tmp/iris.script \ + && iris stop IRIS quietly diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..dca9056 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.8' +services: + iris: + build: + context: . + dockerfile: Dockerfile + ports: + - 51663:1972 + - 52663:52773 + - 53773 + command: + - -a + - iris session iris -U%SYS '##class(Security.Users).UnExpireUserPasswords("*")' + - --check-caps false + volumes: + - ./:/irisdev/app diff --git a/iris.script b/iris.script new file mode 100644 index 0000000..2c7e8b8 --- /dev/null +++ b/iris.script @@ -0,0 +1,2 @@ +zpm "load /opt/irisapp/ -v":1 +halt diff --git a/module.xml b/module.xml index 36d0abf..d10a615 100644 --- a/module.xml +++ b/module.xml @@ -2,7 +2,7 @@ MDX2JSON - 3.2.40 + 3.2.42 RESTful web api for MDX to JSON transformation (plus JSONP and XML/A) for InterSystems IRIS. Also provides information about DeepSee objects. module ./