services: api: build: context: . dockerfile: Dockerfile ports: - "3000" environment: - PORT=3000 - DB_CONNECTION=postgres # database: # image: postgres:14-alpine # volumes: # - db-data:/var/lib/postgresql/data # environment: # - POSTGRES_DB=database # - POSTGRES_PASSWORD=password