40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
# Example Terraform Variables
|
|
# Copy this file to terraform.tfvars and fill in your values
|
|
# terraform.tfvars is gitignored for security
|
|
|
|
# REQUIRED: Hetzner Cloud API Token
|
|
# Get this from: https://console.hetzner.cloud/ > Security > API Tokens
|
|
hcloud_token = "YOUR_HETZNER_API_TOKEN_HERE"
|
|
|
|
# REQUIRED: Domain name for the SPARQL endpoint
|
|
# Make sure to create DNS A record pointing to server IP after deployment
|
|
domain = "sparql.example.org"
|
|
|
|
# REQUIRED: Email for Let's Encrypt certificates and alerts
|
|
admin_email = "admin@example.org"
|
|
|
|
# Server configuration
|
|
server_type = "cx21" # 2 vCPU, 4GB RAM - sufficient for moderate RDF datasets
|
|
location = "nbg1" # Nuremberg, Germany (options: nbg1, fsn1, hel1, ash)
|
|
environment = "production"
|
|
|
|
# Storage
|
|
volume_size_gb = 50 # 50GB should be sufficient for ontologies and RDF data
|
|
|
|
# SSH Access
|
|
ssh_public_key_path = "~/.ssh/id_rsa.pub"
|
|
|
|
# Restrict SSH access to specific IPs (recommended for production)
|
|
# ssh_allowed_ips = ["1.2.3.4/32", "5.6.7.8/32"]
|
|
ssh_allowed_ips = ["0.0.0.0/0", "::/0"] # Allow from anywhere (less secure)
|
|
|
|
# Direct SPARQL access (port 7878)
|
|
# Leave empty to only allow access via reverse proxy (recommended)
|
|
sparql_allowed_ips = []
|
|
|
|
# Floating IP provides a stable IP that persists across server rebuilds
|
|
# Costs extra (~€3/month) but useful for production
|
|
use_floating_ip = false
|
|
|
|
# Oxigraph version
|
|
oxigraph_version = "0.4.1"
|