Update docker-compose to expose app on all interfaces
This commit is contained in:
parent
d7996c0601
commit
f5adef0ee8
@ -2,7 +2,7 @@ services:
|
|||||||
app:
|
app:
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- 127.0.0.1:8080:8000 #127.0.0.1: locally exposed, on port 8080 by default
|
- 8080:8000
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/app/storage #If you were previously using a named volume, follow https://github.com/itskovacs/trip/releases/tag/1.5.0 to migrate your data.
|
- ./storage:/app/storage #If you were previously using a named volume, follow https://github.com/itskovacs/trip/releases/tag/1.5.0 to migrate your data.
|
||||||
command: ["fastapi", "run", "/app/trip/main.py", "--host", "0.0.0.0"]
|
command: ["fastapi", "run", "/app/trip/main.py", "--host", "0.0.0.0"]
|
||||||
Loading…
x
Reference in New Issue
Block a user