Update docker-compose to expose app on all interfaces

This commit is contained in:
Francesco Albano 2025-11-27 12:00:18 +08:00
parent d7996c0601
commit f5adef0ee8

View File

@ -2,7 +2,7 @@ services:
app:
build: .
ports:
- 127.0.0.1:8080:8000 #127.0.0.1: locally exposed, on port 8080 by default
- 8080:8000
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.
command: ["fastapi", "run", "/app/trip/main.py", "--host", "0.0.0.0"]