ansble-terraform-jsonnet/config/servers.libsonnet

17 lines
504 B
Plaintext
Raw Normal View History

2021-10-12 00:13:21 +02:00
local deployments = import "../lib/deployments.libsonnet";
2021-10-03 19:04:37 +02:00
local terraform = import "../lib/terraform.libsonnet";
2021-10-12 00:13:21 +02:00
local server = import "../lib/servers.libsonnet";
2021-10-03 19:04:37 +02:00
2021-10-12 00:13:21 +02:00
server.meta(
"dust2",
terraform.HcloudInstance {
2021-10-03 19:04:37 +02:00
server_type: "cx11"
},
2021-10-12 00:13:21 +02:00
[
deployments.dockerComposeApp('promstack'),
deployments.dockerComposeApp('mailcow', 'mail.example.com'),
deployments.laravelApp('test', 'www.example.com'),
deployments.laravelApp('app', 'example.com'),
]
)