Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions samples/crewai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,22 @@ docker compose -f ./compose.local.yaml up --build

## Configuration

For this sample, you will need to provide the following [configuration](https://docs.defang.io/docs/concepts/configuration):
For this sample, you will need to provide the following [configuration](https://docs.defang.io/docs/concepts/configuration):

> Note that if you are using the 1-click deploy option, you can set these values as secrets in your GitHub repository and the action will automatically deploy them for you.

### `POSTGRES_PASSWORD`
The password for the Postgres database.
```bash
defang config set POSTGRES_PASSWORD
```
### `POSTGRES_PASSWORD`

### `SSL_MODE`
The password for the Postgres database.

The SSL mode for the Postgres database.
```bash
defang config set SSL_MODE
defang config set POSTGRES_PASSWORD
```

### `DJANGO_SECRET_KEY`

The secret key for the Django application.

```bash
defang config set DJANGO_SECRET_KEY
```
Expand All @@ -50,6 +46,7 @@ defang config set DJANGO_SECRET_KEY
### Defang Playground

Deploy your application to the Defang Playground by opening up your terminal and typing:

```bash
defang compose up
```
Expand Down
2 changes: 0 additions & 2 deletions samples/crewai/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ services:
CELERY_BROKER_URL: redis://redis:6379/0
CELERY_RESULT_BACKEND: redis://redis:6379/0
DJANGO_SECRET_KEY: null
SSL_MODE: null
healthcheck:
test:
- CMD
Expand Down Expand Up @@ -75,7 +74,6 @@ services:
REDIS_URL: redis://redis:6379/0
OPENAI_API_KEY: defang
DJANGO_SECRET_KEY: null
SSL_MODE: null
deploy:
resources:
reservations:
Expand Down
Loading