awesome-compose/fastapi/compose.yaml

12 lines
190 B
YAML

services:
api:
build:
context: .
target: builder
container_name: fastapi-application
environment:
PORT: 8000
ports:
- '8010:8000'
restart: "no"