awesome-compose/fastapi/.docker/docker-compose.yaml

14 lines
254 B
YAML
Raw Normal View History

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"