services: dev: build: . command: npm run start:dev ports: - "4000:4000" env_file: .env depends_on: - redis volumes: - .:/usr/src/app # Note that neither app-integration-test or test modes require env variables, # need to find a way to pass variables without .env if this changes app-integration-test: build: . command: npm run start:dev integration-testing ports: - "4000:4000" depends_on: - redis volumes: - .:/usr/src/app test: build: . command: npm run test depends_on: - redis volumes: - .:/usr/src/app redis: image: redis:alpine ports: - "6379:6379"