We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213a4c2 commit 83cb602Copy full SHA for 83cb602
README.md
@@ -21,14 +21,21 @@ Ensure you have the following installed on your machine:
21
git clone https://github.com/sudan94/fastapi-postgres-docker.git
22
cd fastapi-postgres-docker
23
```
24
-
25
-2. Build and run the Docker containers:
+2. Update the .env file with your database credentials:
+ ```js
26
+ POSTGRES_USER=your_username
27
+ POSTGRES_PASSWORD=your_password
28
+ POSTGRES_SERVER=your_postgres_servername
29
+ POSTGRES_PORT=your_postgres_running_port
30
+ POSTGRES_DB=your_database
31
+ ```
32
+3. Build and run the Docker containers:
33
34
```bash
35
docker-compose up -d
36
37
-Usage
38
+### Usage
39
After running ```docker-compose up -d```, your FastAPI application will be accessible via NGINX at http://localhost:8080/fastapi/docs.
40
41
---
0 commit comments