Add linkding
This commit is contained in:
parent
8ab724281c
commit
cad329f06a
1 changed files with 24 additions and 0 deletions
24
linkding.tf
Normal file
24
linkding.tf
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
resource "incus_storage_volume" "linkding_etc_linkding_data" {
|
||||||
|
name = "linkding_etc_linkding_data"
|
||||||
|
pool = incus_storage_pool.default.name
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "incus_instance" "linkding" {
|
||||||
|
name = "linkding"
|
||||||
|
image = "docker:sissbruecker/linkding:1.36.0-plus"
|
||||||
|
|
||||||
|
config = {
|
||||||
|
"environment.LD_CSRF_TRUSTED_ORIGINS" = "https://linkding.benoit.jp.net"
|
||||||
|
"environment.LD_LOG_X_FORWARDED_FOR" = "true"
|
||||||
|
}
|
||||||
|
|
||||||
|
device {
|
||||||
|
name = "etc_linkding_data"
|
||||||
|
type = "disk"
|
||||||
|
properties = {
|
||||||
|
path = "/etc/linkding/data"
|
||||||
|
source = incus_storage_volume.linkding_etc_linkding_data.name
|
||||||
|
pool = incus_storage_pool.default.name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue