Skip to content

ldap service start up problem #324

@Nuna7

Description

@Nuna7

docker-compose.yml

volumes:
  db_data: {}
  arc_data: {}
  ldap_data: {}
  ldap_config: {}

services:
  app:
    build:
      context: .
      dockerfile: Dockerfile
      target: app
    ports:
      - "8008:8008"
    user: nginx
    depends_on:
      - arc

  ldap:
    image: dcm4che/slapd-dcm4chee:2.6.0-26.0
    # image: dcm4che/slapd-dcm4chee:2.6.8-34.1
    logging:
      driver: json-file
      options:
        max-size: "10m"
    expose:
      - 389
    env_file: docker-compose.env
    volumes:
      - ldap_data:/var/lib/openldap/openldap-data
      - ldap_config:/etc/openldap/slapd.d
      - ./etc/openldap/data/modify-dcmRemapRetrieveURL.ldif:/etc/openldap/data/modify-dcmRemapRetrieveURL.ldif:ro
      - ./etc/openldap/data/modify-dcmWebServicePath.ldif:/etc/openldap/data/modify-dcmWebServicePath.ldif:ro

  db:
    image: dcm4che/postgres-dcm4chee:11.22-34
    logging:
      driver: json-file
      options:
        max-size: "10m"
    expose:
      - 5432
    env_file: docker-compose.env
    volumes:
      - db_data:/var/lib/postgresql/data

  arc:
    container_name: dcm4chee-arc
    image: dcm4che/dcm4chee-arc-psql:5.34.0
    logging:
      driver: json-file
      options:
        max-size: "10m"
    ports:
      - "8080:8080"
      - "8443:8443"
      - "9990:9990"
      - "9993:9993"
      - "11112:11112"
      - "2762:2762"
      - "2575:2575"
      - "12575:12575"
    env_file: docker-compose.env
    environment:
      # Used to set the initial and maximal Java heap size to avoid 
      # problems retrieving large WSI bulk data annotations.
      #
      # The default is "-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m"
      # Reference: https://github.com/dcm4che-dockerfiles/dcm4chee-arc-psql
      JBOSS_JAVA_SIZING: "-Xms64m -Xmx4096m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=4096m"
      WILDFLY_CHOWN: /opt/wildfly/standalone /storage
      WILDFLY_WAIT_FOR: ldap:389 db:5432
      HTTP_PROXY_ADDRESS_FORWARDING: "true"
      ARCHIVE_HOST: localhost
    depends_on:
      - ldap
      - db
    volumes:
      - arc_data:/storage

docker compose logs arc

dcm4chee-arc  | cp -r /docker-entrypoint.d/configuration /opt/wildfly/standalone
dcm4chee-arc  | cp -r /docker-entrypoint.d/deployments /opt/wildfly/standalone
dcm4chee-arc  | Importing keystore /opt/wildfly/standalone/configuration/keystores/cacerts.p12 to /usr/local/openjdk-11/lib/security/cacerts...
dcm4chee-arc  | Entry for alias mykey successfully imported.
dcm4chee-arc  | Import command completed:  1 entries successfully imported, 0 entries failed or cancelled
dcm4chee-arc  | chown -R wildfly:wildfly /opt/wildfly/standalone
dcm4chee-arc  | chown -R wildfly:wildfly /storage
dcm4chee-arc  | Waiting for ldap:389 ...

docker compose logs ldap

...
ldap-1  | 
ldap-1  | adding new entry "dcmWebAppName=IOCM_REGULAR_USE-WADO,cn=Unique Web Application Names Registry,cn=DICOM Configuration,dc=dcm4che,dc=org"
ldap-1  | 
ldap-1  | modifying entry "dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org"
ldap-1  | 
ldap-1  | modifying entry "dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org"
ldap-1  | 68a46f68 Entry (dicomDeviceName=dcm4chee-arc,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org), attribute 'dcmWebServicePath' not allowed
ldap-1  | 68a46f68 entry failed schema check: attribute 'dcmWebServicePath' not allowed
ldap-1  | ldap_modify: Object class violation (65)
ldap-1  |       additional info: attribute 'dcmWebServicePath' not allowed
ldap-1  | 

I have try different version of ldap, but the same error keep coming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions