Update readme with simplified usage
This commit is contained in:
parent
fdf3218f88
commit
ee7769c8c7
10
README.md
10
README.md
@ -14,7 +14,6 @@ so:
|
|||||||
|
|
||||||
1. Make sure [Docker Compose is installed][1] and Docker is running (included in
|
1. Make sure [Docker Compose is installed][1] and Docker is running (included in
|
||||||
Docker Desktop)
|
Docker Desktop)
|
||||||
2. Uncomment the `redis`, `web`, and `sidekiq` sections in `docker-compose.yml`
|
|
||||||
3. Run `docker compose up` and wait until 389ds announces its successful start
|
3. Run `docker compose up` and wait until 389ds announces its successful start
|
||||||
in the log output
|
in the log output
|
||||||
4. `docker-compose exec ldap dsconf localhost backend create --suffix="dc=kosmos,dc=org" --be-name="dev"`
|
4. `docker-compose exec ldap dsconf localhost backend create --suffix="dc=kosmos,dc=org" --be-name="dev"`
|
||||||
@ -56,9 +55,12 @@ Running all specs:
|
|||||||
There is a working Docker Compose config file, which allows you to spin up both
|
There is a working Docker Compose config file, which allows you to spin up both
|
||||||
an app server for Rails as well as a local 389ds (LDAP) server.
|
an app server for Rails as well as a local 389ds (LDAP) server.
|
||||||
|
|
||||||
By default, `docker-compose up` will only start the LDAP server, listening on
|
For Rails developers, you probably just want to start the LDAP server: `docker-compose up ldap`,
|
||||||
port 389 on your machine. Uncomment other services in `docker-compose.yml` if
|
listening on
|
||||||
you want to use them.
|
port 389 on your machine.
|
||||||
|
|
||||||
|
You can pick and choose your services adding them by name (listed in `docker-compose.yml`) at
|
||||||
|
the end of the docker compose command. eg. `docker compose up ldap redis`
|
||||||
|
|
||||||
#### LDAP server
|
#### LDAP server
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user