chore: zomboid improvements, gregtime improvements with rcon

This commit is contained in:
Bastian de Byl
2025-12-22 12:31:43 -05:00
parent f9507f4685
commit 4d835e86a0
4 changed files with 9 additions and 6 deletions

View File

@@ -34,8 +34,14 @@
image: "{{ image }}"
restart_policy: on-failure:3
log_driver: journald
network:
- host
env:
TZ: America/New_York
# Zomboid RCON configuration for Discord restart command
ZOMBOID_RCON_HOST: "127.0.0.1"
ZOMBOID_RCON_PORT: "{{ zomboid_rcon_port }}"
ZOMBOID_RCON_PASSWORD: "{{ zomboid_admin_password }}"
volumes:
- "{{ gregtime_path }}/logs:/app/logs"

View File

@@ -130,8 +130,8 @@
loop:
- { key: "DiscordEnable", value: "true" }
- { key: "DiscordToken", value: "{{ zomboid_discord_token }}" }
- { key: "DiscordChannel", value: "zomboid" }
- { key: "DiscordChannelID", value: "{{ zomboid_discord_channel_id }}" }
- { key: "DiscordChannel", value: "zomboidbot" }
- { key: "DiscordChannelID", value: "1451961291194241095" }
when: zomboid_ini_stat.stat.exists
tags: zomboid-conf

View File

@@ -88,7 +88,7 @@
- import_tasks: containers/home/gregtime.yml
vars:
image: localhost/greg-time-bot:1.3.2
image: localhost/greg-time-bot:1.4.3
tags: gregtime
- import_tasks: containers/home/zomboid.yml