services: web: build: context: . dockerfile: Dockerfile args: NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:?Define NEXT_PUBLIC_API_URL (en .env.production) con la URL pública del backend} env_file: - .env.production ports: - "${FRONTEND_PORT:-3000}:3000" restart: unless-stopped networks: - rynext networks: rynext: external: true