For convenience, a Docker Compose environment is provided to run some of the services for local development. The services include:
- PgBouncer
- Valkey
- LDAP
Head to the dev folder in the repository and run the following command:
cd dev
docker-compose up
To stop the services, use the following command:
docker-compose down
To use LDAP for local development, modify the [authentication] section of your xbat.conf:
[ldap]
provider = ldap
address = ldap://localhost:389
basedn = ou=users,dc=example,dc=com
Execute the provided ldap_setup.sh script to set up the LDAP server:
docker exec xbat-ldap /bin/bash -c /ldap_setup.sh
Afterwards, you can log in with the user johndoe and password password.