Skip to content

Commit ba5c2fd

Browse files
committed
Setup Agenta Agenta-AI#3
1 parent 0435bd8 commit ba5c2fd

File tree

2 files changed

+52
-7
lines changed

2 files changed

+52
-7
lines changed

README-setup.md

Lines changed: 49 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ docker logs agenta-oss-gh-api-1
3535
2025-10-18T10:51:07.994Z [INFO.] PostHog initialized with host https://app.posthog.com [oss.src.apis.fastapi.observability.router]
3636
2025-10-18T10:51:16.074Z [INFO.] Agenta - SDK version: 0.55.2 [agenta.sdk.agenta_init]
3737
2025-10-18T10:51:16.074Z [INFO.] Agenta - SDK version: 0.55.2 [agenta.sdk.agenta_init]
38-
2025-10-18T10:51:16.075Z [INFO.] Agenta - Host: http://host.docker.internal:7600 [agenta.sdk.agenta_init]
39-
2025-10-18T10:51:16.075Z [INFO.] Agenta - Host: http://host.docker.internal:7600 [agenta.sdk.agenta_init]
40-
2025-10-18T10:51:16.075Z [INFO.] Agenta - OLTP URL: http://host.docker.internal:7600/api/otlp/v1/traces [agenta.sdk.tracing.tracing]
41-
2025-10-18T10:51:16.075Z [INFO.] Agenta - OLTP URL: http://host.docker.internal:7600/api/otlp/v1/traces [agenta.sdk.tracing.tracing]
38+
2025-10-18T10:51:16.075Z [INFO.] Agenta - Host: http://host.docker.internal [agenta.sdk.agenta_init]
39+
2025-10-18T10:51:16.075Z [INFO.] Agenta - Host: http://host.docker.internal [agenta.sdk.agenta_init]
40+
2025-10-18T10:51:16.075Z [INFO.] Agenta - OLTP URL: http://host.docker.internal/api/otlp/v1/traces [agenta.sdk.tracing.tracing]
41+
2025-10-18T10:51:16.075Z [INFO.] Agenta - OLTP URL: http://host.docker.internal/api/otlp/v1/traces [agenta.sdk.tracing.tracing]
4242

4343
docker logs -f agenta-oss-gh-traefik-1
4444
time="2025-10-18T10:48:33Z" level=info msg="Configuration loaded from flags."
@@ -67,13 +67,55 @@ docker logs -f agenta-oss-gh-supertokens-1
6767
```
6868

6969
```bash
70+
# Testing SuperTokens
7071
curl -s http://localhost:3567/hello
7172
Hello
7273

73-
curl -s http://localhost:7600/api/health
74+
curl -i -X GET http://localhost:3567/hello
75+
HTTP/1.1 200
76+
Content-Type: text/html;charset=UTF-8
77+
Content-Length: 6
78+
Date: Sun, 19 Oct 2025 10:14:27 GMT
79+
80+
Hello
81+
82+
export ST_API_KEY=dev-api-key-12345678901234567890
83+
curl -s -H "api-key: $ST_API_KEY" http://localhost:3567/apiversion
84+
#{"versions":["2.14","2.13","2.12","2.11","2.10","2.21","2.20","2.19","2.18","2.17","3.0","2.16","3.1","4.0","2.15","5.0","5.1","5.2","5.3","2.7","2.8","2.9"]}
85+
86+
# Testing Agenta API
87+
curl -s http://localhost/api/health
7488
{"status":"ok"}
89+
7590
```
7691

77-
<http://localhost:7600>
78-
<http://localhost:7600/api/docs>
92+
## Access Agenta Web
93+
94+
<http://localhost>
95+
<http://localhost/api/docs>
7996
<http://localhost:8080/dashboard/>
97+
98+
## Stop Agenta
99+
100+
```bash
101+
docker compose -f hosting/docker-compose/oss/docker-compose.gh.yml --env-file hosting/docker-compose/oss/.env.oss.gh --profile with-web --profile with-traefik down --remove-orphans
102+
```
103+
104+
## Postgres Verification
105+
106+
```bash
107+
docker exec -it agenta-oss-gh-postgres-1 bash
108+
psql -U postgres -d postgres
109+
\l agenta_oss_core
110+
\l agenta_oss_tracing
111+
\l agenta_oss_supertokens
112+
\q
113+
psql -U username -d agenta_oss_supertokens -h localhost -W
114+
# Enter: password
115+
\l agenta_oss_core
116+
\l agenta_oss_tracing
117+
\l agenta_oss_supertokens
118+
\q
119+
exit
120+
121+
```

hosting/docker-compose/oss/docker-compose.gh.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ services:
9292
image: ghcr.io/agenta-ai/${AGENTA_API_IMAGE_NAME:-agenta-api}:${AGENTA_API_IMAGE_TAG:-latest}
9393
env_file:
9494
- ${ENV_FILE:-./.env.oss.gh}
95+
environment:
96+
REDIS_CACHE_HOST: ${REDIS_CACHE_HOST:-cache}
97+
REDIS_CACHE_PORT: ${REDIS_CACHE_PORT:-6378}
9598
networks: [agenta-oss-gh-network]
9699
command: sh -c "python -m oss.databases.postgres.migrations.runner"
97100
depends_on:

0 commit comments

Comments
 (0)