Skip to content

update " start.sh " #8

@angry-tony

Description

@angry-tony

you must update " start.sh " like below to start "dockerregistrysetup_auth_1" container.

#!/bin/sh
# Copy over certificates to correct place and update certificate storage
#find "/config/ldap_certificates" -type f -exec cp -fv {} /usr/local/share/ca-certificates/ \;
find "/config/ldap_certificates" -type f -exec cp -fv {} /etc/ssl/certs/ \;
#update-ca-certificates

# Replace newline and carriage returns in password file
cat /config/ldap_password.txt | tr -d '\r\n' > /tmp/ldap_password.txt.clean

# If we see a custom config file, we load that instead of the default one
CONF_PATH=/config/auth_config.yml
if [ -f $CONF_PATH.custom ]; then
  CONF_PATH=$CONF_PATH.custom
fi

# Start the auth server
#/auth_server -v=5 -alsologtostderr=true -log_dir=/logs $CONF_PATH
/docker_auth/auth_server -v=5 -alsologtostderr=true -log_dir=/logs $CONF_PATH

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions