tripweb/docker-compose.yml
2025-07-18 18:43:30 +02:00

11 lines
339 B
YAML

services:
app:
build: .
ports:
- 127.0.0.1:8080:8000 #127.0.0.1: locally exposed, on port 8080 by default
volumes:
- trip-storage:/app/storage #Do not change /app/storage, only the first part (./storage) if needed
command: ["fastapi", "run", "/app/trip/main.py", "--host", "0.0.0.0"]
volumes:
trip-storage: