awesome-compose/fastapi/compose.yaml
Milas Bowman 035e3c5b43 fastapi: add dev envs support
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-05 11:59:35 -04:00

12 lines
190 B
YAML

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