Add static webserver and storage for pi.paler.net.

This commit is contained in:
2023-07-07 14:42:29 +01:00
parent 734e8e0c61
commit 0f7dc1cbe9
2 changed files with 72 additions and 0 deletions

26
storage/sites-volume.hcl Normal file
View File

@@ -0,0 +1,26 @@
id = "sites-volume"
name = "sites-volume"
type = "csi"
plugin_id = "seaweedfs"
capacity_min = "256GiB"
capacity_max = "512GiB"
capability {
access_mode = "multi-node-single-writer"
attachment_mode = "file-system"
}
# Optional: for 'nomad volume create', specify mount options to validate for
# 'attachment_mode = "file-system". Registering an existing volume will record
# but ignore these fields.
mount_options {
mount_flags = ["rw"]
}
parameters {
# Available options: https://github.com/seaweedfs/seaweedfs-csi-driver/blob/master/pkg/driver/mounter_seaweedfs.go
collection = "sites"
replication = "001"
path = "/sites"
}