Sign inSign up

abiphilip/ishc_iris_ssh

By abiphilip

Updated almost 3 years ago

Health Connect IRIS for developers community with SSH on startup

Image
0

212

abiphilip/ishc_iris_ssh repository overview

IRIS Community health connect for testers developers... container with ssh Dockerfile

NOTE: Copy the below till the before the Docker compose section and paste into a file called Dockerfile. NOTE: google instructions on Dockerfile

FROM containers.intersystems.com/intersystems/healthconnect:2020.1.3.521.0

USER root

ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/irisowner/bin ENV ISC_PACKAGE_IRISGROUP=irisowner ENV ISC_PACKAGE_IRISUSER=irisowner ENV ISC_PACKAGE_MGRGROUP=irisowner ENV ISC_PACKAGE_MGRUSER=irisowner ENV IRISSYS=/home/irisowner/irissys ENV TINI_VERSION=v0.19.0 ENV ISC_PACKAGE_INSTANCENAME=IRIS ENV ISC_PACKAGE_INSTALLDIR=/usr/irissys

RUN apt-get update RUN apt install sudo -y RUN apt install man -y RUN apt-get install -y supervisor RUN apt-get install -y openssh-server

RUN mkdir /var/run/sshd

RUN echo 'root:root' | chpasswd RUN echo 'irisowner:irisowner' | chpasswd RUN echo 'irisowner ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers

RUN sed 's@session\srequired\spam_loginuid.so@session optional
pam_loginuid.so@g' -i /etc/pam.d/sshd

RUN /etc/init.d/ssh start

WORKDIR /home/irisowner

COPY HS-2020.1.key /usr/irissys/mgr/iris.key COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf

EXPOSE 22 EXPOSE 1972 EXPOSE 2188 EXPOSE 52773 EXPOSE 53773 EXPOSE 54773

ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]

=============================================================================

Docker Compose .yml

NOTE: Copy the below and paste into a file called Docker-compose.yml . NOTE: google instructions on Docker compose

version: '3.3' services:

acgateway: container_name: acgateway user: 'irisowner' environment: - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/irisowner/bin' - ISC_PACKAGE_IRISGROUP=irisowner - ISC_PACKAGE_IRISUSER=irisowner - ISC_PACKAGE_MGRGROUP=irisowner - ISC_PACKAGE_MGRUSER=irisowner - IRISSYS=/home/irisowner/irissys - TINI_VERSION=v0.19.0 - ISC_PACKAGE_INSTANCENAME=IRIS - ISC_PACKAGE_INSTALLDIR=/usr/irissys volumes: - 'C:/temp/isc_keys:/tmp/iris_keys' ports: - '1972:1972' - '1188:2188' - '12773:52773' - '13773:53773' - '14773:54773' - '12:22' image: 'abiphilip/ishc_iris_ssh:v1'

irisedge1: container_name: irisedge1 user: 'irisowner' environment: - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/irisowner/bin' - ISC_PACKAGE_IRISGROUP=irisowner - ISC_PACKAGE_IRISUSER=irisowner - ISC_PACKAGE_MGRGROUP=irisowner - ISC_PACKAGE_MGRUSER=irisowner - IRISSYS=/home/irisowner/irissys - TINI_VERSION=v0.19.0 - ISC_PACKAGE_INSTANCENAME=IRIS - ISC_PACKAGE_INSTALLDIR=/usr/irissys volumes: - 'C:/temp/isc_keys:/tmp/iris_keys' ports: - '2972:1972' - '2188:2188' - '22773:52773' - '23773:53773' - '24773:54773' - '22:22' image: 'abiphilip/ishc_iris_ssh:v1'

irisedge2: container_name: irisedge2 user: 'irisowner' environment: - 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/irisowner/bin' - ISC_PACKAGE_IRISGROUP=irisowner - ISC_PACKAGE_IRISUSER=irisowner - ISC_PACKAGE_MGRGROUP=irisowner - ISC_PACKAGE_MGRUSER=irisowner - IRISSYS=/home/irisowner/irissys - TINI_VERSION=v0.19.0 - ISC_PACKAGE_INSTANCENAME=IRIS - ISC_PACKAGE_INSTALLDIR=/usr/irissys volumes: - 'C:/temp/isc_keys:/tmp/iris_keys' ports: - '3972:1972' - '3188:2188' - '32773:52773' - '33773:53773' - '34773:54773' - '32:22' image: 'abiphilip/ishc_iris_ssh:v1'

Tag summary

Content type

Image

Digest

sha256:3be8efea0

Size

746.3 MB

Last updated

almost 3 years ago

docker pull abiphilip/ishc_iris_ssh:v2