version: '3' services: frontend: build: ./frontend ports: - "3000:3000" environment: - REACT_APP_BACKEND_URL=http://localhost:3001 backend: build: ./backend ports: - "3001:3001" environment: - MONGODB_URI=mongodb://mongodb:27017/infinitecanvas mongodb: image: mongo ports: - "27017:27017"