Devices and studies vanish after restart containers.

70 views
Skip to first unread message

Marcio Adamec

unread,
Apr 9, 2026, 3:15:30 PMApr 9
to dcm4che
Hi everyone, I need you help, please!
I installed dcm4chee arc 5.34 to docker (with ldap and postgresql). So, On the first time that I execute "docker compose up -d", all containers become up,  no errors,  and i get access the web page. If I execute the command "docker stop" or whatever command that stops containers, at begin again, all of devices and studies vanish.
My docker-compose.yml that i test is:

https://github.com/dcm4che-dockerfiles/dcm4chee-arc-psql/blob/master/docker-compose.yml

Anyone would like help me, please? Regardless, i regard!! 

Antonio Gonzalez

unread,
Apr 9, 2026, 3:33:08 PMApr 9
to dcm4che

Ensure the storage path is explicitly defined in your docker-compose.yml (for example: - /var/local/dcm4chee-arc/storage:/storage) and follow the official deployment and configuration guidelines from the dcm4chee-arc-light wiki: https://github.com/dcm4che/dcm4chee-arc-light/wiki/Running-on-Docker

Twaha Nkambwe

unread,
Apr 9, 2026, 3:50:35 PMApr 9
to dcm...@googlegroups.com
Have you made sure that the host folders for DB, Storage,Wildfly and LDAP exist and are owned by the same UID the containers run as, so Docker can read and write the data.
OR you can use named Docker volumes instead of host paths to avoid permissions headaches.


--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dcm4che/300da4e9-8dc7-402d-a793-17af1129cd96n%40googlegroups.com.

Marcio Adamec

unread,
Apr 14, 2026, 9:25:13 AMApr 14
to dcm4che
I thank for your help, but I try ever you suggest and dont get yet.  As I mentioned before, on the first execution of the "docker compose up -d", all modules (ldap, postgres and wildfly) does works perfectly, at means is at looks like. I get insert devices via interface web, but when I stopt/start docker, its losts all devices inserted. Follow below the two versions of docker-compose.yml that I tried:

services:
  ldap:
    image: dcm4che/slapd-dcm4chee:2.6.10-34.3
    ports:
      - "389:389"
      - "636:636"
    environment:
      ARCHIVE_HOST: gunter-nb
      STORAGE_DIR: /storage/fs1
    volumes:
      - ldap:/var/lib/openldap/openldap-data
      - slapd.d:/etc/openldap/slapd.d
  db:
    image: dcm4che/postgres-dcm4chee:17.4-34
    ports:
      - "5432:5432"
    environment:
      POSTGRES_DB: pacsdb
      POSTGRES_USER: pacs
      POSTGRES_PASSWORD: pacs
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - db:/var/lib/postgresql/data
  arc:
    image: dcm4che/dcm4chee-arc-psql:5.34.3
    ports:
      - "8080:8080"
      - "8443:8443"
      - "9990:9990"
      - "9993:9993"
      - "8787:8787"
      - "11112:11112"
      - "2762:2762"
      - "2575:2575"
      - "12575:12575"
    environment:
      WILDFLY_ADMIN_USER: admin
      WILDFLY_ADMIN_PASSWORD: admin
      WILDFLY_DEPLOY_UI: "true"
      WILDFLY_PACSDS_USE_CCM: "false"
      POSTGRES_DB: pacsdb
      POSTGRES_USER: pacs
      POSTGRES_PASSWORD: pacs
      WILDFLY_CHOWN: /storage
      WILDFLY_WAIT_FOR: ldap:389 db:5432
      JAVA_OPTS: -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=*:8787,server=y,suspend=n
    depends_on:
      - ldap
      - db
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - wildfly:/opt/wildfly/standalone
      - storage:/storage
  ui:
    image: dcm4che/dcm4chee-arc-psql:5.34.3
    ports:
      - "18080:18080"
      - "18443:18443"
      - "19990:19990"
      - "19993:19993"
      - "8888:8888"
    environment:
      WILDFLY_ADMIN_USER: admin
      WILDFLY_ADMIN_PASSWORD: admin
      WILDFLY_DEPLOY_UI: only
      WILDFLY_PACSDS_USE_CCM: "false"
      DCM4CHEE_ARC_URLS: http://gunter-nb:8080/dcm4chee-arc
      HTTP_PORT: 18080
      HTTPS_PORT: 18443
      MANAGEMENT_HTTP_PORT: 19990
      MANAGEMENT_HTTPS_PORT: 19993
      WILDFLY_WAIT_FOR: arc:8080
      JAVA_OPTS: -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=*:8888,server=y,suspend=n
    depends_on:
      - arc
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ui:/opt/wildfly/standalone

volumes:
  ldap:
  slapd.d:
  db:
  storage:
  wildfly:
  ui:
------------------------------------------------------------------
services:
  ldap:
    image: dcm4che/slapd-dcm4chee:2.6.10-34.3
    ports:
      - "389:389"
      - "636:636"
    environment:
      ARCHIVE_HOST: gunter-nb
      STORAGE_DIR: /storage/fs1
    volumes:
      - /var/local/dcm4chee-arc/ldap:/var/lib/openldap/openldap-data
      - /var/local/dcm4chee-arc/slapd.d:/etc/openldap/slapd.d
  db:
    image: dcm4che/postgres-dcm4chee:17.4-34
    ports:
      - "5432:5432"
    environment:
      POSTGRES_DB: pacsdb
      POSTGRES_USER: pacs
      POSTGRES_PASSWORD: pacs
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /var/local/dcm4chee-arc/db:/var/lib/postgresql/data
  arc:
    image: dcm4che/dcm4chee-arc-psql:5.34.3
    ports:
      - "8080:8080"
      - "8443:8443"
      - "9990:9990"
      - "9993:9993"
      - "8787:8787"
      - "11112:11112"
      - "2762:2762"
      - "2575:2575"
      - "12575:12575"
    environment:
      WILDFLY_ADMIN_USER: admin
      WILDFLY_ADMIN_PASSWORD: admin
      WILDFLY_DEPLOY_UI: "false"
      WILDFLY_PACSDS_USE_CCM: "false"
      POSTGRES_DB: pacsdb
      POSTGRES_USER: pacs
      POSTGRES_PASSWORD: pacs
      WILDFLY_CHOWN: /storage
      WILDFLY_WAIT_FOR: ldap:389 db:5432
      JAVA_OPTS: -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=*:8787,server=y,suspend=n
    depends_on:
      - ldap
      - db
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /var/local/dcm4chee-arc/wildfly:/opt/wildfly/standalone
      - /var/local/dcm4chee-arc/storage:/storage
  ui:
    image: dcm4che/dcm4chee-arc-psql:5.34.3
    ports:
      - "18080:18080"
      - "18443:18443"
      - "19990:19990"
      - "19993:19993"
      - "8888:8888"
    environment:
      WILDFLY_ADMIN_USER: admin
      WILDFLY_ADMIN_PASSWORD: admin
      WILDFLY_DEPLOY_UI: only
      WILDFLY_PACSDS_USE_CCM: "false"
      DCM4CHEE_ARC_URLS: http://gunter-nb:8080/dcm4chee-arc
      HTTP_PORT: 18080
      HTTPS_PORT: 18443
      MANAGEMENT_HTTP_PORT: 19990
      MANAGEMENT_HTTPS_PORT: 19993
      WILDFLY_WAIT_FOR: arc:8080
      JAVA_OPTS: -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=*:8888,server=y,suspend=n
    depends_on:
      - arc
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
      - /var/local/dcm4chee-arc/ui:/opt/wildfly/standalone
Reply all
Reply to author
Forward
0 new messages