Skip to content

Commit b1fd891

Browse files
committed
test(e2e): specify compose project name and fix some documentations
1 parent 7971047 commit b1fd891

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

test/e2e/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ OAUTH2_GOOGLE="<your-client-id>;<your-client-secret>"
3232

3333
```diff
3434
proxies:
35-
- external_url: "http://localhost:8080/"
36-
target: "http://hackbar-copilot:80"
35+
- external_url: "http://localhost:8081/"
36+
target: "http://app:80"
3737

3838
acl:
39-
"http://localhost:8080":
39+
"http://localhost:8081":
4040
paths:
4141
"/":
4242
- methods: ["*"]
@@ -55,4 +55,5 @@ OAUTH2_GOOGLE="<your-client-id>;<your-client-secret>"
5555
make e2e-up
5656
```
5757

58-
http://localhost:8080
58+
- http://localhost:8081 for requesting via oauth2rbac
59+
- http://localhost:8080 for direct

test/e2e/compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: hackbar-copilot-e2e
12
services:
23
oauth2rbac:
34
image: tingtt/oauth2rbac:v1.0.2
@@ -21,7 +22,7 @@ services:
2122
"google;${OAUTH2_GOOGLE}",
2223
]
2324

24-
hackbar-copilot:
25+
app:
2526
build:
2627
context: ../../
2728
dockerfile: Dockerfile

0 commit comments

Comments
 (0)