11# Production deployment environment variables
2- # This file should be created by deploy-validator.sh and renamed to .env
3- # These variables are critical for the validator to function properly after restart
2+ # Normally created by deploy-validator.sh (see https://linera.dev/operators/testnets/one-click.html)
3+ # This template is a reference for manual setup or customization.
44
5- # Domain configuration (set by deploy script)
6- DOMAIN=${DOMAIN}
7- ACME_EMAIL=${ACME_EMAIL}
5+ # Domain configuration
6+ DOMAIN=your-domain.example.com
7+ ACME_EMAIL=admin@example.com
88
99# Genesis configuration (critical - validator won't work without this)
10- GENESIS_URL=${GENESIS_URL}
11- GENESIS_BUCKET=${GENESIS_BUCKET}
12- GENESIS_PATH_PREFIX=${GENESIS_PATH_PREFIX}
10+ GENESIS_URL=https://storage.googleapis.com/linera-io-dev-public/testnet-conway/genesis.json
11+ GENESIS_BUCKET=https://storage.googleapis.com/linera-io-dev-public
12+ GENESIS_PATH_PREFIX=testnet-conway
1313
1414# Validator configuration
15- VALIDATOR_KEY=${VALIDATOR_KEY}
16- VALIDATOR_NAME=${VALIDATOR_NAME}
15+ VALIDATOR_KEY=
16+ VALIDATOR_NAME=
1717
1818# Network configuration
19- FAUCET_URL=${FAUCET_URL}
20- FAUCET_PORT=${FAUCET_PORT:- 8080}
19+ FAUCET_URL=
20+ FAUCET_PORT=8080
2121
2222# Storage configuration
23- LINERA_STORAGE_SERVICE_PORT=${LINERA_STORAGE_SERVICE_PORT:- 1235}
23+ LINERA_STORAGE_SERVICE_PORT=1235
2424
25- # Docker image
26- LINERA_IMAGE=${LINERA_IMAGE}
25+ # Docker image (default: testnet conway release from public registry)
26+ #LINERA_IMAGE=us-docker.pkg.dev/linera-io-dev/linera-public-registry/linera:testnet_conway_release
27+
28+ # Hostname identifier for this validator (used in metrics labels)
29+ HOSTNAME=your-domain.example.com
30+
31+ # Observability - Prometheus metrics push (OTLP format)
32+ #PROMETHEUS_OTLP_URL=https://your-prometheus-endpoint/otlp
33+ #PROMETHEUS_OTLP_USER=
34+ #PROMETHEUS_OTLP_PASS=
35+
36+ # Observability - Loki logs push
37+ #LOKI_PUSH_URL=https://your-loki-endpoint/loki/api/v1/push
38+ #LOKI_PUSH_USER=
39+ #LOKI_PUSH_PASS=
40+
41+ # Observability - Tempo traces push
42+ #TEMPO_OTLP_URL=https://your-tempo-endpoint/tempo/otlp
43+ #TEMPO_OTLP_USER=
44+ #TEMPO_OTLP_PASS=
2745
2846# Resource limits (adjust based on host machine specs)
2947# Defaults are tuned for an 8-core / 32GB RAM machine.
30- # To disable limits, comment out the relevant lines .
48+ # Uncomment and modify to override defaults .
3149#LIMIT_CPUS_WEB=1.00
3250#LIMIT_MEM_WEB=1536M
3351#LIMIT_CPUS_SCYLLA=2.00
@@ -43,4 +61,4 @@ LINERA_IMAGE=${LINERA_IMAGE}
4361#LIMIT_CPUS_GRAFANA=0.50
4462#LIMIT_MEM_GRAFANA=512M
4563#LIMIT_CPUS_WATCHTOWER=0.25
46- #LIMIT_MEM_WATCHTOWER=256M
64+ #LIMIT_MEM_WATCHTOWER=256M
0 commit comments