Can we run Prefect
server in fully private environment (with-out internet)), Because when I try to run Prefect UI display not correct.
following is current my configure.
Version: 2.20.2
API version: 0.8.4
Python version: 3.12.5
Git commit: 51c3f290
Built: Wed, Aug 14, 2024 11:27 AM
OS/Arch: win32/AMD64
Profile: default
Server type: ephemeral
Server:
Database: postgresql
PREFECT_HOME: ~\.prefect
PREFECT_EXTRA_ENTRYPOINTS:
PREFECT_DEBUG_MODE: false
PREFECT_CLI_COLORS: true
PREFECT_CLI_PROMPT:
PREFECT_CLI_WRAP_LINES: true
PREFECT_TEST_MODE: false
PREFECT_UNIT_TEST_MODE: false
PREFECT_UNIT_TEST_LOOP_DEBUG: true
PREFECT_TEST_SETTING:
PREFECT_API_TLS_INSECURE_SKIP_VERIFY: false
PREFECT_API_SSL_CERT_FILE:
PREFECT_API_URL:
PREFECT_SILENCE_API_URL_MISCONFIGURATION: false
PREFECT_API_KEY: ********
PREFECT_API_ENABLE_HTTP2: true
PREFECT_CLIENT_MAX_RETRIES: 5
PREFECT_CLIENT_RETRY_JITTER_FACTOR: 0.2
PREFECT_CLIENT_RETRY_EXTRA_CODES:
PREFECT_CLIENT_CSRF_SUPPORT_ENABLED: true
PREFECT_CLOUD_API_URL: https://api.prefect.cloud/api
PREFECT_CLOUD_URL:
PREFECT_UI_URL:
PREFECT_CLOUD_UI_URL:
PREFECT_API_REQUEST_TIMEOUT: 60
PREFECT_EXPERIMENTAL_WARN: true
PREFECT_PROFILES_PATH: ${PREFECT_HOME}\profiles.toml
PREFECT_RESULTS_DEFAULT_SERIALIZER: pickle
PREFECT_RESULTS_PERSIST_BY_DEFAULT: false
PREFECT_TASKS_REFRESH_CACHE: false
PREFECT_TASK_DEFAULT_RETRIES: 0
PREFECT_FLOW_DEFAULT_RETRIES: 0
PREFECT_FLOW_DEFAULT_RETRY_DELAY_SECONDS: 0
PREFECT_TASK_DEFAULT_RETRY_DELAY_SECONDS: 0
PREFECT_TASK_RUN_TAG_CONCURRENCY_SLOT_WAIT_SECONDS: 30
PREFECT_LOCAL_STORAGE_PATH: ${PREFECT_HOME}\storage
PREFECT_MEMO_STORE_PATH: ${PREFECT_HOME}\memo_store.toml
PREFECT_MEMOIZE_BLOCK_AUTO_REGISTRATION: true
PREFECT_LOGGING_LEVEL: INFO
PREFECT_LOGGING_INTERNAL_LEVEL: ERROR
PREFECT_LOGGING_SERVER_LEVEL: WARNING
PREFECT_LOGGING_SETTINGS_PATH: ${PREFECT_HOME}\logging.yml
PREFECT_LOGGING_EXTRA_LOGGERS:
PREFECT_LOGGING_LOG_PRINTS: false
PREFECT_LOGGING_TO_API_ENABLED: true
PREFECT_LOGGING_TO_API_BATCH_INTERVAL: 2
PREFECT_LOGGING_TO_API_BATCH_SIZE: 4000000
PREFECT_LOGGING_TO_API_MAX_LOG_SIZE: 1000000
PREFECT_LOGGING_TO_API_WHEN_MISSING_FLOW: warn
PREFECT_SQLALCHEMY_POOL_SIZE:
PREFECT_SQLALCHEMY_MAX_OVERFLOW:
PREFECT_LOGGING_COLORS: true
PREFECT_LOGGING_MARKUP: false
PREFECT_TASK_INTROSPECTION_WARN_THRESHOLD: 10
PREFECT_AGENT_QUERY_INTERVAL: 15
PREFECT_AGENT_PREFETCH_SECONDS: 15
PREFECT_ASYNC_FETCH_STATE_RESULT: false
PREFECT_API_BLOCKS_REGISTER_ON_START: true
PREFECT_API_DATABASE_PASSWORD: ********
PREFECT_API_DATABASE_CONNECTION_URL: ********
PREFECT_API_DATABASE_ECHO: false
PREFECT_API_DATABASE_MIGRATE_ON_START: true
PREFECT_API_DATABASE_TIMEOUT: 10
PREFECT_API_DATABASE_CONNECTION_TIMEOUT: 5
PREFECT_API_SERVICES_SCHEDULER_LOOP_SECONDS: 60
PREFECT_API_SERVICES_SCHEDULER_DEPLOYMENT_BATCH_SIZE: 100
PREFECT_API_SERVICES_SCHEDULER_MAX_RUNS: 100
PREFECT_API_SERVICES_SCHEDULER_MIN_RUNS: 3
PREFECT_API_SERVICES_SCHEDULER_MAX_SCHEDULED_TIME: 8640000
PREFECT_API_SERVICES_SCHEDULER_MIN_SCHEDULED_TIME: 3600
PREFECT_API_SERVICES_SCHEDULER_INSERT_BATCH_SIZE: 500
PREFECT_API_SERVICES_LATE_RUNS_LOOP_SECONDS: 5
PREFECT_API_SERVICES_LATE_RUNS_AFTER_SECONDS: 15
PREFECT_API_SERVICES_PAUSE_EXPIRATIONS_LOOP_SECONDS: 5
PREFECT_API_SERVICES_CANCELLATION_CLEANUP_LOOP_SECONDS: 20
PREFECT_API_SERVICES_FOREMAN_ENABLED: true
PREFECT_API_SERVICES_FOREMAN_LOOP_SECONDS: 15
PREFECT_API_SERVICES_FOREMAN_INACTIVITY_HEARTBEAT_MULTIPLE: 3
PREFECT_API_SERVICES_FOREMAN_FALLBACK_HEARTBEAT_INTERVAL_SECONDS: 30
PREFECT_API_SERVICES_FOREMAN_DEPLOYMENT_LAST_POLLED_TIMEOUT_SECONDS: 60
PREFECT_API_SERVICES_FOREMAN_WORK_QUEUE_LAST_POLLED_TIMEOUT_SECONDS: 60
PREFECT_API_DEFAULT_LIMIT: 200
PREFECT_SERVER_API_HOST: 127.0.0.1
PREFECT_SERVER_API_PORT: 4200
PREFECT_SERVER_API_KEEPALIVE_TIMEOUT: 5
PREFECT_SERVER_CSRF_PROTECTION_ENABLED: false
PREFECT_SERVER_CSRF_TOKEN_EXPIRATION: 3600
PREFECT_UI_ENABLED: true
PREFECT_UI_API_URL:
PREFECT_SERVER_ANALYTICS_ENABLED: false
PREFECT_API_SERVICES_SCHEDULER_ENABLED: true
PREFECT_API_SERVICES_LATE_RUNS_ENABLED: true
PREFECT_API_SERVICES_FLOW_RUN_NOTIFICATIONS_ENABLED: true
PREFECT_API_SERVICES_PAUSE_EXPIRATIONS_ENABLED: true
PREFECT_API_TASK_CACHE_KEY_MAX_LENGTH: 2000
PREFECT_API_SERVICES_CANCELLATION_CLEANUP_ENABLED: true
PREFECT_API_MAX_FLOW_RUN_GRAPH_NODES: 10000
PREFECT_API_MAX_FLOW_RUN_GRAPH_ARTIFACTS: 10000
PREFECT_EXPERIMENTAL_ENABLE_ARTIFACTS_ON_FLOW_RUN_GRAPH: true
PREFECT_EXPERIMENTAL_ENABLE_STATES_ON_FLOW_RUN_GRAPH: true
PREFECT_EXPERIMENTAL_ENABLE_WORK_POOLS: true
PREFECT_EXPERIMENTAL_WARN_WORK_POOLS: false
PREFECT_EXPERIMENTAL_ENABLE_WORKERS: true
PREFECT_EXPERIMENTAL_WARN_WORKERS: false
PREFECT_EXPERIMENTAL_WARN_VISUALIZE: false
PREFECT_EXPERIMENTAL_ENABLE_ENHANCED_CANCELLATION: true
PREFECT_EXPERIMENTAL_WARN_ENHANCED_CANCELLATION: false
PREFECT_EXPERIMENTAL_ENABLE_DEPLOYMENT_STATUS: true
PREFECT_EXPERIMENTAL_WARN_DEPLOYMENT_STATUS: false
PREFECT_EXPERIMENTAL_FLOW_RUN_INPUT: false
PREFECT_EXPERIMENTAL_WARN_FLOW_RUN_INPUT: true
PREFECT_EXPERIMENTAL_EVENTS: false
PREFECT_RUNNER_PROCESS_LIMIT: 5
PREFECT_RUNNER_POLL_FREQUENCY: 10
PREFECT_RUNNER_SERVER_MISSED_POLLS_TOLERANCE: 2
PREFECT_RUNNER_SERVER_HOST: localhost
PREFECT_RUNNER_SERVER_PORT: 8080
PREFECT_RUNNER_SERVER_LOG_LEVEL: error
PREFECT_RUNNER_SERVER_ENABLE: false
PREFECT_DEPLOYMENT_SCHEDULE_MAX_SCHEDULED_RUNS: 50
PREFECT_WORKER_HEARTBEAT_SECONDS: 30
PREFECT_WORKER_QUERY_SECONDS: 10
PREFECT_WORKER_PREFETCH_SECONDS: 10
PREFECT_WORKER_WEBSERVER_HOST: 0.0.0.0
PREFECT_WORKER_WEBSERVER_PORT: 8080
PREFECT_TASK_SCHEDULING_DEFAULT_STORAGE_BLOCK: local-file-system/prefect-task-scheduling
PREFECT_TASK_SCHEDULING_DELETE_FAILED_SUBMISSIONS: true
PREFECT_TASK_SCHEDULING_MAX_SCHEDULED_QUEUE_SIZE: 1000
PREFECT_TASK_SCHEDULING_MAX_RETRY_QUEUE_SIZE: 100
PREFECT_TASK_SCHEDULING_PENDING_TASK_TIMEOUT: 30
PREFECT_EXPERIMENTAL_ENABLE_EXTRA_RUNNER_ENDPOINTS: false
PREFECT_EXPERIMENTAL_ENABLE_ARTIFACTS: true
PREFECT_EXPERIMENTAL_WARN_ARTIFACTS: false
PREFECT_EXPERIMENTAL_ENABLE_WORKSPACE_DASHBOARD: true
PREFECT_EXPERIMENTAL_WARN_WORKSPACE_DASHBOARD: false
PREFECT_EXPERIMENTAL_ENABLE_TASK_SCHEDULING: false
PREFECT_EXPERIMENTAL_ENABLE_WORK_QUEUE_STATUS: true
PREFECT_EXPERIMENTAL_ENABLE_NEW_ENGINE: false
PREFECT_EXPERIMENTAL_DISABLE_SYNC_COMPAT: false
PREFECT_DEFAULT_RESULT_STORAGE_BLOCK:
PREFECT_DEFAULT_WORK_POOL_NAME:
PREFECT_DEFAULT_DOCKER_BUILD_NAMESPACE:
PREFECT_UI_SERVE_BASE: /
PREFECT_UI_STATIC_DIRECTORY:
PREFECT_MESSAGING_BROKER: prefect.server.utilities.messaging.memory
PREFECT_MESSAGING_CACHE: prefect.server.utilities.messaging.memory
PREFECT_EVENTS_MAXIMUM_LABELS_PER_RESOURCE: 500
PREFECT_EVENTS_MAXIMUM_RELATED_RESOURCES: 500
PREFECT_EVENTS_MAXIMUM_SIZE_BYTES: 1500000
PREFECT_API_SERVICES_EVENT_LOGGER_ENABLED: true
PREFECT_API_SERVICES_TRIGGERS_ENABLED: true
PREFECT_EVENTS_EXPIRED_BUCKET_BUFFER: 60
PREFECT_EVENTS_PROACTIVE_GRANULARITY: 5
PREFECT_API_SERVICES_EVENT_PERSISTER_ENABLED: true
PREFECT_API_SERVICES_EVENT_PERSISTER_BATCH_SIZE: 20
PREFECT_API_SERVICES_EVENT_PERSISTER_FLUSH_INTERVAL: 5
PREFECT_EVENTS_RETENTION_PERIOD: 604800
PREFECT_API_EVENTS_STREAM_OUT_ENABLED: true
PREFECT_API_EVENTS_RELATED_RESOURCE_CACHE_TTL: 300
Flow list via CLI
Flow in Prefect UI
Deployment list by CLI
Deployment list in Prefect-UI