# Restate version
RESTATE_VERSION=1.5.3

# Cluster configuration
RESTATE_CLUSTER_NAME=restate-cluster
RESTATE_DEFAULT_REPLICATION=2

# Node 1 ports (primary node)
NODE1_INGRESS_PORT_OVERRIDE=8080
NODE1_ADMIN_PORT_OVERRIDE=9070
NODE1_NODE_PORT_OVERRIDE=5122

# Node 2 ports
NODE2_INGRESS_PORT_OVERRIDE=28080
NODE2_ADMIN_PORT_OVERRIDE=29070
NODE2_NODE_PORT_OVERRIDE=25122

# Node 3 ports
NODE3_INGRESS_PORT_OVERRIDE=38080
NODE3_ADMIN_PORT_OVERRIDE=39070
NODE3_NODE_PORT_OVERRIDE=35122

# Node advertised addresses (internal network)
RESTATE_NODE1_ADVERTISED_ADDRESS=http://restate-1:5122
RESTATE_NODE2_ADVERTISED_ADDRESS=http://restate-2:5122
RESTATE_NODE3_ADVERTISED_ADDRESS=http://restate-3:5122

# Metadata client addresses
RESTATE_METADATA_CLIENT__ADDRESSES=["http://restate-1:5122","http://restate-2:5122","http://restate-3:5122"]

# Snapshot configuration
RESTATE_WORKER__SNAPSHOTS__DESTINATION=s3://restate/snapshots
RESTATE_WORKER__SNAPSHOTS__SNAPSHOT_INTERVAL_NUM_RECORDS=1000
RESTATE_WORKER__SNAPSHOTS__AWS_REGION=local
RESTATE_WORKER__SNAPSHOTS__AWS_ENDPOINT_URL=http://minio:9000
RESTATE_WORKER__SNAPSHOTS__AWS_ALLOW_HTTP=true

# MinIO configuration
MINIO_VERSION=latest
MINIO_API_PORT_OVERRIDE=9000
MINIO_CONSOLE_PORT_OVERRIDE=9001
MINIO_ROOT_USER=minioadmin
MINIO_ROOT_PASSWORD=minioadmin

# Timezone
TZ=UTC

# Log level: trace, debug, info, warn, error
RESTATE_LOG_FILTER=restate=info
