@@ -94,7 +94,7 @@ You'll need the following components:
94
94
95
95
### Prerequisites
96
96
97
- 1 . ** Supabase** :
97
+ 1 . ** Supabase** :
98
98
- Create a new [ Supabase project] ( https://supabase.com/dashboard/projects )
99
99
- Save your project's API URL, anon key, and service role key for later use
100
100
- Install the [ Supabase CLI] ( https://supabase.com/docs/guides/cli/getting-started )
@@ -105,9 +105,12 @@ You'll need the following components:
105
105
- [ Mac] ( https://formulae.brew.sh/formula/redis ) : ` brew install redis `
106
106
- [ Linux] ( https://redis.io/docs/getting-started/installation/install-redis-on-linux/ ) : Follow distribution-specific instructions
107
107
- [ Windows] ( https://redis.io/docs/getting-started/installation/install-redis-on-windows/ ) : Use WSL2 or Docker
108
- - Save your Redis connection details for later use
108
+ - Docker Compose (included in our setup):
109
+ - If you're using our Docker Compose setup, Redis is included and configured automatically
110
+ - No additional installation is needed
111
+ - Save your Redis connection details for later use (not needed if using Docker Compose)
109
112
110
- 3 . ** Daytona** :
113
+ 3 . ** Daytona** :
111
114
- Create an account on [ Daytona] ( https://app.daytona.io/ )
112
115
- Generate an API key from your account settings
113
116
- Go to [ Images] ( https://app.daytona.io/dashboard/images )
@@ -123,6 +126,7 @@ You'll need the following components:
123
126
- For enhanced search capabilities, obtain an [ Tavily API key] ( https://tavily.com/ )
124
127
- For web scraping capabilities, obtain a [ Firecrawl API key] ( https://firecrawl.dev/ )
125
128
129
+
126
130
6 . ** RapidAPI API Key** (Optional):
127
131
- To enable API services like LinkedIn, and others, you'll need a RapidAPI key
128
132
- Each service requires individual activation in your RapidAPI account:
@@ -201,8 +205,13 @@ cp .env.example .env.local # Create from example if available, or use the follo
201
205
```
202
206
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
203
207
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
204
- NEXT_PUBLIC_BACKEND_URL="http://localhost:8000/api"
208
+ NEXT_PUBLIC_BACKEND_URL="http://localhost:8000/api" # Use this for local development
205
209
NEXT_PUBLIC_URL="http://localhost:3000"
210
+ ```
211
+
212
+ Note: If you're using Docker Compose, use the container name instead of localhost:
213
+ ```
214
+ NEXT_PUBLIC_BACKEND_URL="http://backend:8000/api" # Use this when running with Docker Compose
206
215
```
207
216
208
217
5 . ** Install dependencies** :
@@ -230,6 +239,34 @@ cd backend
230
239
python api.py
231
240
```
232
241
242
+ 5-6. ** Docker Compose Alternative** :
243
+
244
+ Before running with Docker Compose, make sure your environment files are properly configured:
245
+ - In ` backend/.env ` , set all the required environment variables as described above
246
+ - For Redis configuration, use ` REDIS_HOST=redis ` instead of localhost
247
+ - The Docker Compose setup will automatically set these Redis environment variables:
248
+ ```
249
+ REDIS_HOST=redis
250
+ REDIS_PORT=6379
251
+ REDIS_PASSWORD=
252
+ REDIS_SSL=False
253
+ ```
254
+ - In `frontend/.env.local`, make sure to set `NEXT_PUBLIC_BACKEND_URL="http://backend:8000/api"` to use the container name
255
+
256
+ Then run:
257
+ ```bash
258
+ export GITHUB_REPOSITORY="your-github-username/repo-name"
259
+ docker compose -f docker-compose.ghcr.yaml up
260
+ ```
261
+
262
+ If you're building the images locally instead of using pre-built ones:
263
+ ``` bash
264
+ docker compose up
265
+ ```
266
+
267
+ The Docker Compose setup includes a Redis service that will be used by the backend automatically.
268
+
269
+
233
270
7 . ** Access Suna** :
234
271
- Open your browser and navigate to ` http://localhost:3000 `
235
272
- Sign up for an account using the Supabase authentication
0 commit comments