This commit is contained in:
Marc Fokkert
2024-09-01 22:02:22 +02:00
parent c802d32909
commit e02b5f9ac4
4 changed files with 322 additions and 103 deletions

View File

@@ -15,6 +15,13 @@ resource "docker_container" "ru-torrent" {
image = docker_image.ru-torrent.image_id
name = "ru-torrent"
env = [
"PUID=777",
"PGID=321",
"UMASK=002",
"TZ=Europe/Amsterdam"
]
mounts {
target = "/config"
source = "/share/appdata/ru-torrent"
@@ -27,6 +34,12 @@ resource "docker_container" "ru-torrent" {
type = "bind"
}
mounts {
target = "/data/torrents"
source = "/share/datarr/torrents"
type = "bind"
}
restart = "always"
networks_advanced {