This repository has been archived on 2024-11-12. You can view files and clone it, but cannot push or open issues or pull requests.
iac/docker.tf

34 lines
528 B
Terraform
Raw Normal View History

2024-06-28 10:43:20 +00:00
/*provider "ssh" {
2024-06-21 13:43:35 +00:00
server = {
host = "california.ti"
port = 22
}
2024-06-21 16:02:42 +00:00
user = "techinc"
auth = {
2024-06-21 13:43:35 +00:00
private_key = {
content = file("~/.ssh/keys/exploding_bolts_2_rsa")
}
}
}
2024-06-28 10:43:20 +00:00
data "ssh_tunnel" "docker" {
connection_name = "docker_socket_tunnel_california"
remote = {
socket = "/var/run/docker.sock"
}
}
*/
2024-06-21 13:43:35 +00:00
provider "docker" {
2024-06-21 16:02:42 +00:00
host = "ssh://california.ti"
2024-06-21 13:43:35 +00:00
}
2024-06-27 21:17:13 +00:00
provider "docker" {
alias = "printi"
2024-06-28 10:43:20 +00:00
host = "ssh://prin.ti"
2024-06-27 21:17:13 +00:00
}
2024-06-27 22:10:09 +00:00
provider "docker" {
alias = "unifi"
2024-06-28 10:43:20 +00:00
host = "ssh://unifi.ti"
2024-06-27 22:10:09 +00:00
}