version: '3' services: nginx: build: dockerfile: Dockerfile.dev context: ./nginx ports: - "80:80" worker: environment: - REDIS_HOST=redis - REDIS_PORT=6379 build: dockerfile: Dockerfile.dev context: ./worker volumes: - /app/node_modules - ./worker:/app backend: environment: - REDIS_HOST=redis - REDIS_PORT=6379 - PGUSER=postgres - PGHOST=postgres - PGDATABASE=postgres - PGPASSWORD=postgres_password - PGPORT=5432 build: dockerfile: Dockerfile.dev context: ./server volumes: - /app/node_modules - ./server:/app frontend: build: dockerfile: Dockerfile.dev context: ./client volumes: - /app/node_modules - ./client:/app redis: image: 'redis' postgres: image: 'postgres'