34 lines
549 B
TOML
34 lines
549 B
TOML
|
# This is a TOML document
|
||
|
|
||
|
title = "TOML Example"
|
||
|
|
||
|
[owner]
|
||
|
name = "Sage Vaillancourt"
|
||
|
dob = 1996-08-02T07:32:00-08:00
|
||
|
|
||
|
[database]
|
||
|
enabled = true
|
||
|
ports = [ 8000, 8001, 8002 ]
|
||
|
data = [ ["delta", "phi"], [3.14, 1.312] ]
|
||
|
temp_targets = { cpu = 79.5, case = 72.0 }
|
||
|
|
||
|
[servers] # Not strictly necessary. servers.<x> implicitly creates the 'servers' table
|
||
|
|
||
|
[servers.alpha]
|
||
|
ip = "10.0.0.1"
|
||
|
role = "frontend"
|
||
|
|
||
|
[servers.beta]
|
||
|
ip = "10.0.0.2"
|
||
|
role = "backend"
|
||
|
|
||
|
# Array of tables
|
||
|
|
||
|
[[users]]
|
||
|
name = "Sage"
|
||
|
color = "pink"
|
||
|
|
||
|
[[users]]
|
||
|
name = "Willow"
|
||
|
color = "teal"
|