Skip to content

Commit

Permalink
fix: disable auto-reload in production
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Aug 23, 2023
1 parent a71cee4 commit c9c6453
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ services:
"--host",
"0.0.0.0",
"--port",
"80",
"--reload"
"80"
]
healthcheck:
# very simple health check
Expand Down
10 changes: 10 additions & 0 deletions docker/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ services:
USER_GID: ${USER_GID:-1000}
volumes:
- .:/code
command:
[
"uvicorn",
"app.main:app",
"--host",
"0.0.0.0",
"--port",
"80",
"--reload"
]

0 comments on commit c9c6453

Please sign in to comment.