This commit is contained in:
Alex
2025-08-25 16:35:09 +02:00
parent d3861e73fb
commit bf5c5a998e

View File

@@ -6,19 +6,17 @@ terraform {
}
}
resource "podman_container" "syslog_ng" {
resource "podman" "syslog_ng" {
name = "syslog-ng"
image = "lscr.io/linuxserver/syslog-ng:latest"
restart = "unless-stopped"
# Environment variables
env = {
PUID = "1000"
PGID = "1000"
TZ = "Etc/UTC"
}
# Port mappings
ports {
host_port = 514
container_port = 5514
@@ -37,7 +35,6 @@ resource "podman_container" "syslog_ng" {
protocol = "tcp"
}
# Volume mounts
volumes {
host_path = "/srv/syslog/config"
container_path = "/config"