-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
version: '3' | ||
services: | ||
api: | ||
image: jiisanda/docflow | ||
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 | ||
image: jiisanda/docflow:1 | ||
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 | ||
nginx: | ||
image: nginx:1.25.3-alpine | ||
ports: | ||
- "80:80" | ||
volumes: | ||
- ./nginx:/etc/nginx/conf.dAnd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
server { | ||
listen 80; | ||
server_name _; # As we are using IP address or the public DNS of our EC2 instance | ||
|
||
location / { | ||
proxy_pass http://api:8000; | ||
} | ||
} |