awesome-compose/fastapi/.docker/docker-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

14 lines
254 B
YAML

services:
api:
build:
context: .
target: dev-envs
container_name: fastapi-application
environment:
PORT: 8000
ports:
- '8000:8000'
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: "no"