version: '3.7' services: backend: build: backend command: uvicorn app:app --host 0.0.0.0 --port 8000 --reload ports: - "8000:8000" volumes: - ./backend:/backend environment: ENVIRONMENT: local DATABASE_DSN: postgres://postgres:postgres@postgres:5432/postgres postgres: image: postgres:16.1-bullseye restart: unless-stopped ports: - 5432:5432 environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres nginx: build: nginx ports: - "8040:80" depends_on: - backend volumes: backend: data: