WIP authelia
Update everything
This commit is contained in:
47
authelia.tf
Normal file
47
authelia.tf
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
data "docker_registry_image" "authelia" {
|
||||||
|
name = "authelia/authelia:latest"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "docker_image" "authelia" {
|
||||||
|
name = data.docker_registry_image.authelia.name
|
||||||
|
pull_triggers = [data.docker_registry_image.authelia.sha256_digest]
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "docker_container" "authelia" {
|
||||||
|
image = docker_image.authelia.image_id
|
||||||
|
name = "authelia"
|
||||||
|
restart = "always"
|
||||||
|
|
||||||
|
log_driver = "local"
|
||||||
|
|
||||||
|
env = [
|
||||||
|
"AUTHELIA_IDENTITY_VALIDATION_RESET_PASSWORD_JWT_SECRET_FILE=/secrets/JWT_SECRET",
|
||||||
|
"AUTHELIA_SESSION_SECRET_FILE=/secrets/SESSION_SECRET",
|
||||||
|
"AUTHELIA_STORAGE_POSTGRES_PASSWORD_FILE=/secrets/STORAGE_PASSWORD",
|
||||||
|
"AUTHELIA_STORAGE_ENCRYPTION_KEY_FILE=/secrets/STORAGE_ENCRYPTION_KEY"
|
||||||
|
]
|
||||||
|
|
||||||
|
networks_advanced {
|
||||||
|
name = docker_network.bridge.name
|
||||||
|
ipv4_address = "192.168.2.151"
|
||||||
|
}
|
||||||
|
|
||||||
|
mounts {
|
||||||
|
target = "/config"
|
||||||
|
source = "/share/appdata/authelia/config"
|
||||||
|
type = "bind"
|
||||||
|
}
|
||||||
|
|
||||||
|
mounts {
|
||||||
|
target = "/secrets"
|
||||||
|
source = "/share/appdata/authelia/secrets"
|
||||||
|
type = "bind"
|
||||||
|
}
|
||||||
|
|
||||||
|
lifecycle {
|
||||||
|
ignore_changes = [
|
||||||
|
ulimit,
|
||||||
|
log_opts
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"terraform_version": "1.5.5",
|
"terraform_version": "1.5.5",
|
||||||
"serial": 4601,
|
"serial": 4606,
|
||||||
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
|
"lineage": "fcc74498-a461-682e-d8e4-5bc8c6ea51ec",
|
||||||
"outputs": {},
|
"outputs": {},
|
||||||
"resources": [
|
"resources": [
|
||||||
@@ -95,6 +95,24 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mode": "data",
|
||||||
|
"type": "docker_registry_image",
|
||||||
|
"name": "deluge",
|
||||||
|
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"id": "sha256:48e949d81f6b08f2ce3a7ed48ff71ba968ec5c087d3a99ebd51110dfbc9ae122",
|
||||||
|
"insecure_skip_verify": false,
|
||||||
|
"name": "linuxserver/deluge:latest",
|
||||||
|
"sha256_digest": "sha256:48e949d81f6b08f2ce3a7ed48ff71ba968ec5c087d3a99ebd51110dfbc9ae122"
|
||||||
|
},
|
||||||
|
"sensitive_attributes": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mode": "data",
|
"mode": "data",
|
||||||
"type": "docker_registry_image",
|
"type": "docker_registry_image",
|
||||||
@@ -793,16 +811,6 @@
|
|||||||
"must_run": true,
|
"must_run": true,
|
||||||
"name": "airsonic",
|
"name": "airsonic",
|
||||||
"network_data": [
|
"network_data": [
|
||||||
{
|
|
||||||
"gateway": "192.168.2.1",
|
|
||||||
"global_ipv6_address": "",
|
|
||||||
"global_ipv6_prefix_length": 0,
|
|
||||||
"ip_address": "192.168.2.83",
|
|
||||||
"ip_prefix_length": 24,
|
|
||||||
"ipv6_gateway": "",
|
|
||||||
"mac_address": "02:42:f4:fa:c5:f3",
|
|
||||||
"network_name": "qnet-static-eth0-48e715"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"gateway": "172.29.0.1",
|
"gateway": "172.29.0.1",
|
||||||
"global_ipv6_address": "",
|
"global_ipv6_address": "",
|
||||||
@@ -812,6 +820,16 @@
|
|||||||
"ipv6_gateway": "",
|
"ipv6_gateway": "",
|
||||||
"mac_address": "02:42:ac:1d:00:03",
|
"mac_address": "02:42:ac:1d:00:03",
|
||||||
"network_name": "mariadb"
|
"network_name": "mariadb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"gateway": "192.168.2.1",
|
||||||
|
"global_ipv6_address": "",
|
||||||
|
"global_ipv6_prefix_length": 0,
|
||||||
|
"ip_address": "192.168.2.83",
|
||||||
|
"ip_prefix_length": 24,
|
||||||
|
"ipv6_gateway": "",
|
||||||
|
"mac_address": "02:42:f4:fa:c5:f3",
|
||||||
|
"network_name": "qnet-static-eth0-48e715"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"network_mode": "default",
|
"network_mode": "default",
|
||||||
@@ -1400,6 +1418,135 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mode": "managed",
|
||||||
|
"type": "docker_container",
|
||||||
|
"name": "deluge",
|
||||||
|
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 2,
|
||||||
|
"attributes": {
|
||||||
|
"attach": false,
|
||||||
|
"bridge": "",
|
||||||
|
"capabilities": [],
|
||||||
|
"cgroupns_mode": null,
|
||||||
|
"command": [],
|
||||||
|
"container_logs": null,
|
||||||
|
"container_read_refresh_timeout_milliseconds": 15000,
|
||||||
|
"cpu_set": "",
|
||||||
|
"cpu_shares": 0,
|
||||||
|
"destroy_grace_seconds": null,
|
||||||
|
"devices": [],
|
||||||
|
"dns": null,
|
||||||
|
"dns_opts": null,
|
||||||
|
"dns_search": null,
|
||||||
|
"domainname": "",
|
||||||
|
"entrypoint": [
|
||||||
|
"/init"
|
||||||
|
],
|
||||||
|
"env": [
|
||||||
|
"PGID=321",
|
||||||
|
"PUID=222",
|
||||||
|
"UMASK=002"
|
||||||
|
],
|
||||||
|
"exit_code": null,
|
||||||
|
"gpus": null,
|
||||||
|
"group_add": null,
|
||||||
|
"healthcheck": null,
|
||||||
|
"host": [],
|
||||||
|
"hostname": "dcf696f4e3a3",
|
||||||
|
"id": "dcf696f4e3a30522be7f8be5727a839b54b31a5f3b14131f6a3c2fb7e56ce5fe",
|
||||||
|
"image": "sha256:b9e98f51cef4458c1ef729c62b35fccff99e6215cdb9061093fd113f0196ab36",
|
||||||
|
"init": false,
|
||||||
|
"ipc_mode": "private",
|
||||||
|
"labels": [],
|
||||||
|
"log_driver": "local",
|
||||||
|
"log_opts": null,
|
||||||
|
"logs": false,
|
||||||
|
"max_retry_count": 0,
|
||||||
|
"memory": 0,
|
||||||
|
"memory_swap": 0,
|
||||||
|
"mounts": [
|
||||||
|
{
|
||||||
|
"bind_options": [],
|
||||||
|
"read_only": null,
|
||||||
|
"source": "/share/appdata/deluge",
|
||||||
|
"target": "/config",
|
||||||
|
"tmpfs_options": [],
|
||||||
|
"type": "bind",
|
||||||
|
"volume_options": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"must_run": true,
|
||||||
|
"name": "deluge",
|
||||||
|
"network_data": [
|
||||||
|
{
|
||||||
|
"gateway": "192.168.2.1",
|
||||||
|
"global_ipv6_address": "",
|
||||||
|
"global_ipv6_prefix_length": 0,
|
||||||
|
"ip_address": "192.168.2.137",
|
||||||
|
"ip_prefix_length": 24,
|
||||||
|
"ipv6_gateway": "",
|
||||||
|
"mac_address": "02:42:3b:fe:ce:ec",
|
||||||
|
"network_name": "qnet-static-eth0-48e715"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"network_mode": "default",
|
||||||
|
"networks_advanced": [
|
||||||
|
{
|
||||||
|
"aliases": [],
|
||||||
|
"ipv4_address": "192.168.2.137",
|
||||||
|
"ipv6_address": "",
|
||||||
|
"name": "qnet-static-eth0-48e715"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pid_mode": "",
|
||||||
|
"ports": [],
|
||||||
|
"privileged": false,
|
||||||
|
"publish_all_ports": false,
|
||||||
|
"read_only": false,
|
||||||
|
"remove_volumes": true,
|
||||||
|
"restart": "always",
|
||||||
|
"rm": false,
|
||||||
|
"runtime": "runc",
|
||||||
|
"security_opts": [],
|
||||||
|
"shm_size": 64,
|
||||||
|
"start": true,
|
||||||
|
"stdin_open": false,
|
||||||
|
"stop_signal": "",
|
||||||
|
"stop_timeout": 0,
|
||||||
|
"storage_opts": null,
|
||||||
|
"sysctls": null,
|
||||||
|
"tmpfs": null,
|
||||||
|
"tty": false,
|
||||||
|
"ulimit": [],
|
||||||
|
"upload": [],
|
||||||
|
"user": "",
|
||||||
|
"userns_mode": "",
|
||||||
|
"volumes": [
|
||||||
|
{
|
||||||
|
"container_path": "/data",
|
||||||
|
"from_container": "",
|
||||||
|
"host_path": "",
|
||||||
|
"read_only": null,
|
||||||
|
"volume_name": "truenas-arr"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"wait": false,
|
||||||
|
"wait_timeout": 60,
|
||||||
|
"working_dir": "/"
|
||||||
|
},
|
||||||
|
"sensitive_attributes": [],
|
||||||
|
"private": "eyJzY2hlbWFfdmVyc2lvbiI6IjIifQ==",
|
||||||
|
"dependencies": [
|
||||||
|
"data.docker_registry_image.deluge",
|
||||||
|
"docker_image.deluge",
|
||||||
|
"docker_network.bridge"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mode": "managed",
|
"mode": "managed",
|
||||||
"type": "docker_container",
|
"type": "docker_container",
|
||||||
@@ -1434,7 +1581,7 @@
|
|||||||
"healthcheck": null,
|
"healthcheck": null,
|
||||||
"host": [],
|
"host": [],
|
||||||
"hostname": "dozzle",
|
"hostname": "dozzle",
|
||||||
"id": "31cae4a99887f1bbe9a0671567941f620be773fdc1b5c5954bb63938f048a0c0",
|
"id": "65bc8a5a71e98b961c8264446fe04ac170e97382d7d043dff6c9dd68ce3cbf97",
|
||||||
"image": "sha256:9ceba54318cdeb63bbfa21d6176af1720f46a323c62aee80f43db15f47c9eceb",
|
"image": "sha256:9ceba54318cdeb63bbfa21d6176af1720f46a323c62aee80f43db15f47c9eceb",
|
||||||
"init": false,
|
"init": false,
|
||||||
"ipc_mode": "private",
|
"ipc_mode": "private",
|
||||||
@@ -1466,7 +1613,7 @@
|
|||||||
"ip_address": "192.168.2.144",
|
"ip_address": "192.168.2.144",
|
||||||
"ip_prefix_length": 24,
|
"ip_prefix_length": 24,
|
||||||
"ipv6_gateway": "",
|
"ipv6_gateway": "",
|
||||||
"mac_address": "02:42:a6:21:6a:fd",
|
"mac_address": "02:42:d4:8f:ec:ec",
|
||||||
"network_name": "qnet-static-eth0-48e715"
|
"network_name": "qnet-static-eth0-48e715"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -2278,16 +2425,6 @@
|
|||||||
"must_run": true,
|
"must_run": true,
|
||||||
"name": "hoarder",
|
"name": "hoarder",
|
||||||
"network_data": [
|
"network_data": [
|
||||||
{
|
|
||||||
"gateway": "192.168.2.1",
|
|
||||||
"global_ipv6_address": "",
|
|
||||||
"global_ipv6_prefix_length": 0,
|
|
||||||
"ip_address": "192.168.2.145",
|
|
||||||
"ip_prefix_length": 24,
|
|
||||||
"ipv6_gateway": "",
|
|
||||||
"mac_address": "02:42:08:ea:75:8b",
|
|
||||||
"network_name": "qnet-static-eth0-48e715"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"gateway": "172.29.12.1",
|
"gateway": "172.29.12.1",
|
||||||
"global_ipv6_address": "",
|
"global_ipv6_address": "",
|
||||||
@@ -2297,6 +2434,16 @@
|
|||||||
"ipv6_gateway": "",
|
"ipv6_gateway": "",
|
||||||
"mac_address": "02:42:ac:1d:0c:03",
|
"mac_address": "02:42:ac:1d:0c:03",
|
||||||
"network_name": "hoarder"
|
"network_name": "hoarder"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"gateway": "192.168.2.1",
|
||||||
|
"global_ipv6_address": "",
|
||||||
|
"global_ipv6_prefix_length": 0,
|
||||||
|
"ip_address": "192.168.2.145",
|
||||||
|
"ip_prefix_length": 24,
|
||||||
|
"ipv6_gateway": "",
|
||||||
|
"mac_address": "02:42:08:ea:75:8b",
|
||||||
|
"network_name": "qnet-static-eth0-48e715"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"network_mode": "default",
|
"network_mode": "default",
|
||||||
@@ -2977,16 +3124,6 @@
|
|||||||
"must_run": true,
|
"must_run": true,
|
||||||
"name": "mariadb",
|
"name": "mariadb",
|
||||||
"network_data": [
|
"network_data": [
|
||||||
{
|
|
||||||
"gateway": "192.168.2.1",
|
|
||||||
"global_ipv6_address": "",
|
|
||||||
"global_ipv6_prefix_length": 0,
|
|
||||||
"ip_address": "192.168.2.127",
|
|
||||||
"ip_prefix_length": 24,
|
|
||||||
"ipv6_gateway": "",
|
|
||||||
"mac_address": "02:42:ae:01:e7:fb",
|
|
||||||
"network_name": "qnet-static-eth0-48e715"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"gateway": "172.29.0.1",
|
"gateway": "172.29.0.1",
|
||||||
"global_ipv6_address": "",
|
"global_ipv6_address": "",
|
||||||
@@ -2996,6 +3133,16 @@
|
|||||||
"ipv6_gateway": "",
|
"ipv6_gateway": "",
|
||||||
"mac_address": "02:42:ac:1d:00:05",
|
"mac_address": "02:42:ac:1d:00:05",
|
||||||
"network_name": "mariadb"
|
"network_name": "mariadb"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"gateway": "192.168.2.1",
|
||||||
|
"global_ipv6_address": "",
|
||||||
|
"global_ipv6_prefix_length": 0,
|
||||||
|
"ip_address": "192.168.2.127",
|
||||||
|
"ip_prefix_length": 24,
|
||||||
|
"ipv6_gateway": "",
|
||||||
|
"mac_address": "02:42:ae:01:e7:fb",
|
||||||
|
"network_name": "qnet-static-eth0-48e715"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"network_mode": "default",
|
"network_mode": "default",
|
||||||
@@ -6402,6 +6549,36 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"mode": "managed",
|
||||||
|
"type": "docker_image",
|
||||||
|
"name": "deluge",
|
||||||
|
"provider": "provider[\"registry.terraform.io/kreuzwerker/docker\"]",
|
||||||
|
"instances": [
|
||||||
|
{
|
||||||
|
"schema_version": 0,
|
||||||
|
"attributes": {
|
||||||
|
"build": [],
|
||||||
|
"force_remove": null,
|
||||||
|
"id": "sha256:b9e98f51cef4458c1ef729c62b35fccff99e6215cdb9061093fd113f0196ab36linuxserver/deluge:latest",
|
||||||
|
"image_id": "sha256:b9e98f51cef4458c1ef729c62b35fccff99e6215cdb9061093fd113f0196ab36",
|
||||||
|
"keep_locally": null,
|
||||||
|
"name": "linuxserver/deluge:latest",
|
||||||
|
"platform": null,
|
||||||
|
"pull_triggers": [
|
||||||
|
"sha256:48e949d81f6b08f2ce3a7ed48ff71ba968ec5c087d3a99ebd51110dfbc9ae122"
|
||||||
|
],
|
||||||
|
"repo_digest": "linuxserver/deluge@sha256:48e949d81f6b08f2ce3a7ed48ff71ba968ec5c087d3a99ebd51110dfbc9ae122",
|
||||||
|
"triggers": null
|
||||||
|
},
|
||||||
|
"sensitive_attributes": [],
|
||||||
|
"private": "bnVsbA==",
|
||||||
|
"dependencies": [
|
||||||
|
"data.docker_registry_image.deluge"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"mode": "managed",
|
"mode": "managed",
|
||||||
"type": "docker_image",
|
"type": "docker_image",
|
||||||
|
|||||||
Reference in New Issue
Block a user