services: postgres: image: pgvector/pgvector:pg16 environment: POSTGRES_USER: meow POSTGRES_PASSWORD: meow POSTGRES_DB: meowcode ports: - "5433:5432" volumes: - postgres-data:/var/lib/postgresql/data api: build: context: . dockerfile: infra/docker/api.Dockerfile env_file: .env depends_on: - postgres ports: - "4000:4000" web: build: context: . dockerfile: infra/docker/web.Dockerfile environment: NEXT_PUBLIC_MEOW_API_URL: http://localhost:4000 depends_on: - api ports: - "3000:3000" volumes: postgres-data: