add garfbot.tf
This commit is contained in:
parent
ebc69b0313
commit
c4e43b0706
39
garfbot.tf
Normal file
39
garfbot.tf
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user