|
| 1 | +# .env |
| 2 | +# Default environment variables for Polaris Minio S3 example |
| 3 | + |
| 4 | +# Minio Root Credentials (used by minio service and mc script) |
| 5 | +MINIO_ROOT_USER=minioadmin |
| 6 | +MINIO_ROOT_PASSWORD=minioadmin |
| 7 | + |
| 8 | +# Minio S3 User Credentials (created by mc script, used by services) |
| 9 | +POLARIS_S3_USER=polaris_s3_user |
| 10 | +POLARIS_S3_PASSWORD=polaris_s3_password_val |
| 11 | + |
| 12 | +SPARK_MINIO_S3_USER=spark_minio_s3_user |
| 13 | +SPARK_MINIO_S3_PASSWORD=spark_minio_s3_password_val |
| 14 | + |
| 15 | +TRINO_MINIO_S3_USER=trino_minio_s3_user |
| 16 | +TRINO_MINIO_S3_PASSWORD=trino_minio_s3_password_val |
| 17 | + |
| 18 | +# Polaris Client Credentials (created by polaris-bootstrap-minio, used by Spark/Trino to authenticate to Polaris) |
| 19 | +# These are used by polaris-bootstrap-minio and polaris-setup-governance directly |
| 20 | +SPARK_POLARIS_CLIENT_ID=spark_app_client |
| 21 | +SPARK_POLARIS_CLIENT_SECRET=spark_client_secret_val |
| 22 | + |
| 23 | +TRINO_POLARIS_CLIENT_ID=trino_app_client |
| 24 | +TRINO_POLARIS_CLIENT_SECRET=trino_client_secret_val |
| 25 | + |
| 26 | +# These specific _ENV suffixed versions are referenced by the spark-sql-minio service environment block |
| 27 | +# Setting them explicitly here to match the defaults and avoid Docker Compose warnings. |
| 28 | +SPARK_POLARIS_CLIENT_ID_ENV=spark_app_client |
| 29 | +SPARK_POLARIS_CLIENT_SECRET_ENV=spark_client_secret_val |
| 30 | + |
| 31 | +# Port Mappings (defaults used in docker-compose.yml) |
| 32 | +MINIO_API_PORT=9000 |
| 33 | +MINIO_CONSOLE_PORT=9001 |
| 34 | +POSTGRES_MINIO_PORT=5433 |
| 35 | +POLARIS_MINIO_API_PORT=8183 |
| 36 | +POLARIS_MINIO_MGMT_PORT=8184 |
| 37 | +SPARK_UI_MINIO_START_PORT=4050 |
| 38 | +SPARK_UI_MINIO_END_PORT=4055 # Used in port range mapping |
| 39 | +TRINO_MINIO_PORT=8083 |
| 40 | + |
| 41 | +# You can change these values if needed, but these align with the defaults |
| 42 | +# in the docker-compose.yml and associated scripts. |
0 commit comments