add garfbot.tf

This commit is contained in:
abcrate 2023-11-19 20:30:49 -06:00 committed by GitHub
parent ebc69b0313
commit c4e43b0706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

39
garfbot.tf Normal file
View File

@ -0,0 +1,39 @@
provider "docker" {
host = "unix:///var/run/docker.sock"
}
resource "docker_container" "garfbot" {
name = "garfbot"
image = "garfbot"
restart = "always"
volumes {
container_path = "/usr/src/app"
host_path = "/home/crate/garfbot"
}
}
resource "docker_container" "jonbot" {
name = "jonbot"
image = "jonbot"
restart = "always"
volumes {
container_path = "/usr/src/app"
host_path = "/home/crate/garfbot"
}
}
resource "docker_container" "moneybot" {
name = "moneybot"
image = "moneybot"
restart = "always"
volumes {
container_path = "/usr/src/app"
host_path = "/home/crate/garfbot"
}
}