mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 13:01:03 +00:00
refactor: remove unused terraria config
This commit is contained in:
parent
66391e6224
commit
7569ad0b80
2 changed files with 0 additions and 26 deletions
|
|
@ -25,21 +25,6 @@ resource "hcloud_server" "terraria" {
|
|||
server_type = "cx21"
|
||||
location = "nbg1"
|
||||
ssh_keys = [data.hcloud_ssh_key.default.id]
|
||||
|
||||
provisioner "file" {
|
||||
content = templatefile("./gameservers/docker-compose.terraria.yml", {
|
||||
image = "ryshe/terraria"
|
||||
image_tag = "tshock-1.4.3.6-4.5.17-2"
|
||||
volume_id = hcloud_volume.terraria_data.id
|
||||
world_name = "TheDriftingMoon"
|
||||
})
|
||||
destination = "/terraria/docker-compose.yml"
|
||||
|
||||
connection {
|
||||
type = "ssh"
|
||||
host = self.ipv4_address
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
resource "hcloud_volume" "terraria_data" {
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
version: "3.8"
|
||||
|
||||
services:
|
||||
tshock:
|
||||
image: ${image}:${image_tag}
|
||||
ports:
|
||||
- 7777:7777
|
||||
volumes:
|
||||
- /mnt/HC_VOLUME_${volume_id}/Terraria/Worlds/:/root/.local/share/Terraria/Worlds/
|
||||
environment:
|
||||
WORLD_FILENAME: ${world_name}.wld
|
||||
Loading…
Add table
Add a link
Reference in a new issue