File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ This sample project demonstrates how to deploy FastAPI with PostgreSQL with Defa
1313
1414To run the development container(s) locally, do:
1515
16- ```
16+ ``` bash
1717docker compose -f compose.dev.yaml up --build
1818```
1919
2020Or to run the production container(s) locally, do:
2121
22- ```
22+ ``` bash
2323POSTGRES_PASSWORD=postgres docker compose up --build
2424```
2525
Original file line number Diff line number Diff line change 77This sample requires an API key to access AWS S3. The name of the config value is referenced in the compose.yaml file.
88To provide a value for it, you can use the Defang CLI like this:
99
10- ```
10+ ``` bash
1111defang config set --name AWS_ACCESS_KEY
1212defang config set --name AWS_SECRET_KEY
1313```
1414
1515and then enter the value when prompted.
1616
1717## Testing
18-
18+ ``` bash
1919curl -X POST -H ' Content-Type: application/json' -d ' { "first_name" : "jane", "last_name" : "doe" }' https://xxxxxx/upload
2020curl https://xxxxxx/download
21+ ```
2122
2223---
2324
You can’t perform that action at this time.
0 commit comments