madhuy25 / dcm4chee-arc-psql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supported tags and respective Dockerfile links

How to use this image

See Running on Docker at the dcm4che Archive 5 Wiki.

Environment Variables

Below explained environment variables can be set as per one's application to override the default values if need be. An example of how one can set an env variable in docker run command is shown below :

-e ARCHIVE_DEVICE_NAME=my-dcm4chee-arc

Note : If default values of any environment variables were overridden in startup of slapd or postgres containers, then ensure that the same values are also used for overriding the defaults during startup of archive container.

LDAP_URL

URL for accessing LDAP (optional, default is ldap://ldap:389).

LDAP_BASE_DN

Base domain name for LDAP (optional, default is dc=dcm4che,dc=org).

LDAP_ROOTPASS

Password to use to authenticate to LDAP (optional, default is secret).

LDAP_ROOTPASS_FILE

Password to use to authenticate to LDAP via file input (alternative to LDAP_ROOTPASS).

LDAP_DISABLE_HOSTNAME_VERIFICATION

Indicates to disable the verification of the hostname of the certificate of the LDAP server, if using TLS (LDAP_URL=ldaps://<host>:<port>) (optional, default is true).

ARCHIVE_DEVICE_NAME

Device name to lookup in LDAP for Audit Logging configuration (optional, default is dcm4chee-arc).

POSTGRES_HOST

Hostname/IP-Address of the PostgreSQL host. Required for using external PostgreSQL database to persist data. If absent, embedded Java-based relational database H2 will be used to persist data (optional, default is db).

POSTGRES_PORT

Port of the PostgreSQL host (optional, default is 5432)

POSTGRES_DB

Name of the database to use (optional, default is pacsdb).

POSTGRES_USER

User to authenticate to PostgreSQL (optional, default is pacs).

POSTGRES_USER_FILE

User to authenticate to PostgreSQL via file input (alternative to POSTGRES_USER).

POSTGRES_PASSWORD

User's password to use to authenticate to PostgreSQL (optional, default is pacs).

POSTGRES_PASSWORD_FILE

User's password to use to authenticate to PostgreSQL via file input (alternative to DB_PASSWORD).

POSTGRES_JDBC_PARAMS

Optional JDBC Connection Parameters (e.g.: connectTimeout=30).

JAVA_OPTS

This environment variable is used to set the JAVA_OPTS during archive startup (optional, default is "-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true"

REVERSE_DNS

Specifies if reverse DNS lookup is enabled for incoming DICOM and HL7 connections (optional, default is true).

WILDFLY_CHOWN

This environment variable is used to set the ownership to the storage directory (optional, default is "/opt/wildfly/standalone /storage"

WILDFLY_WAIT_FOR

Indicates to delay the start of the archive until specified TCP ports become accessible. Format: <host>:<port> ..., e.g.: ldap:389 db:5432.

HTTP_MAX_POST_SIZE

The maximum size of a HTTP POST request that will be accepted, in bytes. (optional, default is 10000000000).

HTTP_PORT

HTTP port of Wildfly (optional, default is 8080).

HTTPS_PORT

HTTPS port of Wildfly (optional, default is 8443).

MANAGEMENT_HTTP_PORT

HTTP port of Wildfly Administration Console (optional, default is 9990).

MANAGEMENT_HTTPS_PORT

HTTPS port of Wildfly Administration Console (optional, default is 9993).

WILDFLY_ADMIN_OIDC (Only effective by archive versions secured by Keycloak)

Protect Wildfly Adminstration Console with Keycloak (optional, default is true).

WILDFLY_ADMIN_USER (Ignored by archive versions secured by Keycloak and WILDFLY_ADMIN_OIDC=true)

By default there is no admin user created so you won't be able to login to the Wildfly Administration Console. User to authenticate to the Wildfly Administration Console. (At archive versions secured by Keycloak and WILDFLY_ADMIN_OIDC=true, any user with assigned role ADMINISTRATOR is authorized to access the Wildfly Administration Console.)

WILDFLY_ADMIN_USER_FILE (Ignored by archive versions secured by Keycloak and WILDFLY_ADMIN_OIDC=true)

User to authenticate to the Wildfly Administration Console via file input (alternative to WILDFLY_ADMIN_USER).

WILDFLY_ADMIN_PASSWORD (Ignored by archive versions secured by Keycloak and WILDFLY_ADMIN_OIDC=true)

User's password to use to authenticate to the Wildfly Administration Console.

WILDFLY_ADMIN_PASSWORD_FILE (Ignored by archive versions secured by Keycloak and WILDFLY_ADMIN_OIDC=true)

User's password to use to authenticate to the Wildfly Administration Console via file input (alternative to WILDFLY_ADMIN_PASSWORD).

AUTH_USER_ROLE

User role required to access the UI and RESTful services of the Archive (optional, default is user).

SUPER_USER_ROLE

User role to identify super users, which have unrestricted access to all UI functions of the Archive, bypassing the verification of user permissions (optional, default is admin).

PROXY_USER_ROLE

User role required to access HTTP services over a proxy. (optional, default is user).

KEYSTORE

Path to keystore file with private key and certificate for HTTPS (optional, default is /opt/wildfly/standalone/configuration/keystore/key.p12, with sample key + certificate:

Subject    - CN=PACS_J4C,O=J4CARE,C=AT
Issuer     - CN=IHE Europe CA, O=IHE Europe, C=FR
Valid From - Sun Apr 02 06:38:46 UTC 2017
Valid To   - Fri Apr 02 06:38:46 UTC 2027
MD5 : 7a:b3:f7:5d:cf:6e:84:34:be:5a:7a:12:95:fa:46:76
SHA1 : a9:36:b3:b4:60:63:22:9e:f4:ae:41:d3:3b:97:ca:be:9b:a9:32:e9

provided by the docker image only for testing purpose).

KEYSTORE_PASSWORD

Password used to protect the integrity of the keystore specified by KEYSTORE (optional, default is secret).

KEYSTORE_PASSWORD_FILE

Password used to protect the integrity of the keystore specified by KEYSTORE via file input (alternative to KEYSTORE_PASSWORD).

KEY_PASSWORD

Password used to protect the private key in the keystore specified by KEYSTORE (optional, default is value of KEYSTORE_PASSWORD).

KEY_PASSWORD_FILE

Password used to protect the private key in the keystore specified by KEYSTORE via file input (alternative to KEY_PASSWORD).

KEYSTORE_TYPE

Type (JKS or PKCS12) of the keystore specified by KEYSTORE (optional, default is PKCS12).

TRUSTSTORE

Path to keystore file with trusted certificates for TLS (optional, default is the default Java truststore /usr/local/openjdk-11/lib/security/cacerts). s.o. EXTRA_CACERTS.

TRUSTSTORE_PASSWORD

Password used to protect the integrity of the keystore specified by TRUSTSTORE (optional, default is changeit).

TRUSTSTORE_PASSWORD_FILE

Password used to protect the integrity of the keystore specified by TRUSTSTORE via file input (alternative to TRUSTSTORE_PASSWORD).

TRUSTSTORE_TYPE

Type (JKS or PKCS12) of the keystore specified by TRUSTSTORE (optional, default is JKS).

EXTRA_CACERTS

Path to keystore file with CA certificates imported to default Java truststore (optional, default is /opt/wildfly/standalone/configuration/keystore/cacerts.p12, with sample CA certificate:

Subject    - CN=IHE Europe CA,O=IHE Europe,C=FR
Issuer     - CN=IHE Europe CA,O=IHE Europe,C=FR
Valid From - Fri Sep 28 11:19:29 UTC 2012
Valid To   - Wed Sep 28 11:19:29 UTC 2022
MD5 : 64:b6:1b:0f:8d:84:17:da:23:e4:e5:1c:56:ba:06:5d
SHA1 : 54:e0:10:c6:4a:fe:2c:aa:20:3f:50:95:45:82:cb:53:55:6b:07:7f

provided by the docker image only for testing purpose).

EXTRA_CACERTS_PASSWORD

Password used to protect the integrity of the keystore specified by EXTRA_CACERTS (optional, default is secret).

EXTRA_CACERTS_PASSWORD_FILE

Password used to protect the integrity of the keystore specified by EXTRA_CACERTS via file input (alternative to EXTRA_CACERTS_PASSWORD).

TLS_PROTOCOLS

Comma separated list of enabled TLS protocols (SSLv2, SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3) (optional, default is TLSv1.2).

CIPHER_SUITE_FILTER

The filter to apply to specify the enabled cipher suites for TLSv1.2 and below. See javadoc for possible values. (optional, default is DEFAULT).

AUTH_SERVER_URL

Base URL of the Keycloak server used for authenticating the client requests. Default value is http://keycloak:8080/auth.

REALM_NAME

Name of the realm configured in Keycloak for securing the UI and RESTful services of the archive, and the Wildfly Administration Console and Management API (optional, default is dcm4che).

SSL_REQUIRED

Defining the SSL/HTTPS requirements for interacting with the Keycloak server:

  • none - HTTPS is not required for any client IP address
  • external - private IP addresses can access without HTTPS
  • all - HTTPS is required for all IP addresses

(optional, default is external).

ALLOW_ANY_HOSTNAME

If the Keycloak server requires HTTPS and this config option is set to true the Keycloak server’s certificate is validated via the truststore, but host name validation is not done (optional, default value set is true).

DISABLE_TRUST_MANAGER

If the Keycloak server requires HTTPS and this config option is set to true the Keycloak server’s certificate is is not validated via the truststore (optional, default value set is false).

UI_CLIENT_ID

Keycloak client ID for securing the UI of the archive (optional, default is dcm4chee-arc-ui).

RS_CLIENT_ID

Keycloak client ID for securing RESTful services of the archive (optional, default is dcm4chee-arc-rs).

WILDFLY_CONSOLE

Keycloak client ID for securing the Wildfly Administration Console (optional, default is wildfly-console).

WILDFLY_MANAGEMENT

Keycloak client ID for securing the Wildfly Management API. (optional, default is wildfly-management).

WILDFLY_EXECUTER_MAX_THREADS

This environment variable sets the maximum threads allowed for the managed-executor-service in the Wildfly configuration (optional, default is 100).

WILDFLY_PACSDS_MAX_POOL_SIZE

This environment variable sets the maximum pool size allowed for the PacsDS datasource in the Wildfly configuration (optional, default is 50).

WILDFLY_JMS_GLOBAL_CLIENT_THREAD_POOL_MAX_SIZE

Maximum size of the pool of threads used by all ActiveMQ clients running inside this server (optional, default is 30).

WILDFLY_JMS_GLOBAL_CLIENT_SCHEDULED_THREAD_POOL_MAX_SIZE

Maximum size of the pool of scheduled threads used by all ActiveMQ clients running inside this server (optional, default is 5).

WILDFLY_JMS_SERVER_THREAD_POOL_MAX_SIZE

The number of threads that the main thread pool of the ActiveMQ server has. -1 means no limit (optional, default is 30).

WILDFLY_JMS_SERVER_SCHEDULED_THREAD_POOL_MAX_SIZE

The number of threads that the main scheduled thread pool of the ActiveMQ server has (optional, default is 5).

WILDFLY_JMS_SERVER_POOLED_CONNECTION_FACTORY_MAX_POOL_SIZE

The maximum size for the pool of the pooled connection factory of the ActiveMQ server (optional, default is 20).

WILDFLY_JMS_SERVER_POOLED_CONNECTION_FACTORY_THREAD_POOL_MAX_SIZE

The thread pool max size of the pooled connection factory of the ActiveMQ server (optional, default is 30).

WILDFLY_JMS_SERVER_POOLED_CONNECTION_FACTORY_SCHEDULED_THREAD_POOL_MAX_SIZE

The scheduled thread pool max size of the pooled connection factory of the ActiveMQ server (optional, default is 5).

WILDFLY_MDB_STRICT_MAX_POOL_SIZE

Configured maximum number of message driven bean instances that the pool can hold at a given point in time. (optional, default is 32).

WILDFLY_DISABLE_CACHING_FOR_SECURED_PAGES

Indicates if Wildfly Undertow servlet container should set headers to disable caching for secured pages. (optional, default is true).

WILDFLY_JMS_QUEUE_STGCMTSCP_CONSUMER_COUNT

The number of consumers consuming messages from queue StgCmtSCP. Limits number of concurrently processed Storage Commitment requests (optional, default is 1).

WILDFLY_JMS_QUEUE_STGCMTSCU_CONSUMER_COUNT

The number of consumers consuming messages from queue StgCmtSCU. Limits number of concurrently invoked Storage Commitment requests (optional, default is 1).

WILDFLY_JMS_QUEUE_STGVERTASKS_CONSUMER_COUNT

The number of consumers consuming messages from queue StgVerTasks. Limits number of concurrently invoked Storage Verification tasks (optional, default is 1).

WILDFLY_JMS_QUEUE_MPPSSCU_CONSUMER_COUNT

The number of consumers consuming messages from queue MPPSSCU. Limits number of concurrently forwarded MPPS messages. (optional, default is 1).

WILDFLY_JMS_QUEUE_IANSCU_CONSUMER_COUNT

The number of consumers consuming messages from queue IANSCU. Limits number of concurrently sent IAN notifications. (optional, default is 1).

WILDFLY_JMS_QUEUE_HL7SEND_CONSUMER_COUNT

The number of consumers consuming messages from queue HL7Send. Limits number of concurrently sent HL7v2 messages. (optional, default is 1).

WILDFLY_JMS_QUEUE_RSCLIENT_CONSUMER_COUNT

The number of consumers consuming messages from queue RSClient. Limits number of concurrently forwarded RESTful requests (optional, default is 1).

WILDFLY_JMS_QUEUE_DIFFTASKS_CONSUMER_COUNT

The number of consumers consuming messages from queue DiffTasks). Limits number of concurrently processed Studies Compare Tasks (optional, default is 1).

WILDFLY_JMS_QUEUE_REJECTION_CONSUMER_COUNT

The number of consumers consuming messages from queue Rejection). Limits number of concurrently processed Rejection Tasks. Compare Tasks (optional, default is 1).

WILDFLY_JMS_QUEUE_EXPORT{N}_CONSUMER_COUNT

The number of consumers consuming messages from queue Export{N} with N = [1..10]. Limits number of concurrently processed Export Tasks from Export{N} queue (optional, default is 1).

WILDFLY_JMS_QUEUE_RETRIEVE{N}_CONSUMER_COUNT

The number of consumers consuming messages from queue Retrieve{N} with N = [1..13]. Limits number of concurrently processed Retrieve Tasks from Retrieve{N} queue (optional, default is 1).

Logstash/GELF Logger configuration:

LOGSTASH_HOST

Hostname/IP-Address of the Logstash host. Required for emitting system logs to Logstash.

GELF_FACILITY

Name of the Facility (optional, default is wildfly).

GELF_LEVEL

Log-Level threshold (optional, default is WARN).

GELF_EXTRACT_STACK_TRACE

Indicates if the Stack-Trace shall be sent in the StackTrace field (optional, default is true).

GELF_FILTER_STACK_TRACE

Indicates if Stack-Trace filtering shall be performed (optional, default is true).

Deploy additional application(s)

You may extend the image by creating a new one and place your application(s) inside the /docker-entrypoint.d/deployments/ directory with the COPY command. E.g.:

$ ls
Dockerfile  weasis-pacs-connector.war
$ cat Dockerfile
FROM dcm4che/dcm4chee-arc-psql:5.23.1
COPY weasis-pacs-connector.war /docker-entrypoint.d/deployments
$ docker build -t dcm4chee-arc-psql-with-weasis-pacs-connector:5.23.1 .
Sending build context to Docker daemon  1.924MB
Step 1/2 : FROM dcm4che/dcm4chee-arc-psql:5.23.1
5.23.1: Pulling from dcm4che/dcm4chee-arc-psql
c7b7d16361e0: Already exists
b7a128769df1: Already exists
1128949d0793: Already exists
667692510b70: Already exists
5352881f31d4: Already exists
9c5c547fc9af: Already exists
1425a6f5654d: Already exists
5686d3c45e41: Already exists
d26ca0854059: Already exists
b04b5d1d48ca: Already exists
73f6e4c54635: Already exists
495a8a1a3634: Pull complete
01e5664d91d6: Pull complete
22267eaaa65e: Pull complete
Digest: sha256:efd76ca282504bc3e7284cc544434dd769a84b45af5f96ff84ed462a6425780d
Status: Downloaded newer image for dcm4che/dcm4chee-arc-psql:5.23.1
 ---> c84231dce4d2
Step 2/2 : COPY weasis-pacs-connector.war /docker-entrypoint.d/deployments
 ---> b0f94489c0cb
Successfully built b0f94489c0cb
Successfully tagged dcm4chee-arc-psql-with-weasis-pacs-connector:5.23.1

About


Languages

Language:Shell 53.2%Language:Dockerfile 46.8%