Skip to content

Commit

Permalink
Cleanup ldap healthcheck to better logically group the init commands
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Nov 1, 2024
1 parent ee8b982 commit c23fc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclipse-pass.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ services:
- .eclipse-pass.local_env
# Healthy when manage to create the suffix and load users
healthcheck:
test: 'dsconf -D "cn=Directory Manager" localhost backend create --suffix="$$DS_SUFFIX_NAME" --be-name="pass" || ldapadd -f /pass.ldif -H ldap://localhost:3389 -w "$$DS_DM_PASSWORD" -D "cn=Directory Manager" || exit 1'
test: '(dsconf -D "cn=Directory Manager" localhost backend create --suffix="$$DS_SUFFIX_NAME" --be-name="pass" && ldapadd -f /pass.ldif -H ldap://localhost:3389 -w "$$DS_DM_PASSWORD" -D "cn=Directory Manager") || exit 1'
start_period: 60s
interval: 5s
volumes:
Expand Down

0 comments on commit c23fc30

Please sign in to comment.