services: backend: build: context: ./back dockerfile: Dockerfile ports: - "8000:8000" volumes: - ./back:/var/www/html tty: true frontend: build: context: ./front dockerfile: Dockerfile ports: - "5173:5173" volumes: - ./front:/app - /app/node_modules depends_on: - backend