version: "3" services: db: image: postgres:latest environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=postgres - POSTGRES_DB=postgres volumes: - postgresql-data:/var/lib/postgresql/data app: build: . command: bash -c 'while !