version: '3.8' services: frontend: build: context: . dockerfile: Dockerfile ports: - "80:80" depends_on: - backend backend: build: context: ./backend dockerfile: Dockerfile ports: - "3001:3001" environment: - SMTP_HOST=smtp.mail.me.com - SMTP_PORT=587 - SMTP_USER=your-email@me.com - SMTP_PASS=your-app-specific-password - SMTP_FROM=your-email@me.com - SMTP_TO=your-email@me.com - CORS_ORIGIN=http://localhost