services: index: image: alecodes/index:latest pull_policy: build build: context: .. dockerfile: ./docker/Dockerfile develop: watch: - action: sync path: ../src target: /app ports: - 3000:8080 env_file: ../.env db: image: postgres:17 env_file: ../.env