Skip to content

Commit

Permalink
doc(bff): using bff
Browse files Browse the repository at this point in the history
  • Loading branch information
vbeaucha committed Aug 23, 2023
1 parent e5e161b commit fab48aa
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ git sparse-checkout set "deploy" "APP"
git pull origin main
```


# 🔁 OGree-Core GitFlow

![Workflows diagram](/assets/images/main.jpg)
Expand Down Expand Up @@ -153,4 +152,21 @@ If build workflow is trigger by a release bracnh, workflow will tag OGree-Core w
- TEAM_DOCKER_URL: Url of the docker registry
- TEAM_DOCKER_PASSWORD: password of the docker registry
- TEAM_DOCKER_USERNAME: username of the docker registry
- SVC_GITHUB_TOKEN: an admin github token ( required to trigger build workflow since 08/2022 )
- SVC_GITHUB_TOKEN: an admin github token ( required to trigger build workflow since 08/2022 )

# Using BFF

If you run docker-compose with bff, by adding : --profile arango, to docker compose command.

You will have to set APIURL with the bff's url to match frontend/CLI and BFF

```bash
docker compose --project-name <your-project> -f deploy/docker/docker-compose.yml --profile arango up
```
Example config:
```bash
[OGrEE-CLI]
Verbose = "ERROR"
APIURL = "http://127.0.0.1:BFF_PORT"
...
```

0 comments on commit fab48aa

Please sign in to comment.