🚸 Simplified env vars

This commit is contained in:
Anarion 2024-03-18 09:24:55 +01:00
parent bdcec28454
commit 77a7021f77
No known key found for this signature in database
GPG key ID: 6C9E149718A7D4EB
2 changed files with 8 additions and 10 deletions

View file

@ -77,12 +77,10 @@ valheim_env:
TYPE: "{{ valheim_type }}"
SCHEDULED_RESTART: "{{ valheim_scheduled_restart }}"
SCHEDULED_RESTART_SCHEDULE: "{{ valheim_scheduled_restart_schedule }}"
# valheim_optional_env:
# WEBHOOK_URL: "{{ valheim_webhook_url }}"
# WEBHOOK_INCLUDE_PUBLIC_IP: "{{ valheim_webhook_include_public_ip }}"
# PRESET: "{{ valheim_preset }}"
# MODIFIERS: "{{ valheim_modifiers }}"
# SET_KEY: "{{ valheim_set_key }}"
# MODS: "{{ valheim_mods }}"
# ADDITIONAL_STEAMCMD_ARGS: "{{ valheim_additional_steamcmd_args }}"
# WEBHOOK_URL: "{{ valheim_webhook_url }}"
# WEBHOOK_INCLUDE_PUBLIC_IP: "{{ valheim_webhook_include_public_ip }}"
# PRESET: "{{ valheim_preset }}"
# MODIFIERS: "{{ valheim_modifiers }}"
# SET_KEY: "{{ valheim_set_key }}"
# MODS: "{{ valheim_mods }}"
# ADDITIONAL_STEAMCMD_ARGS: "{{ valheim_additional_steamcmd_args }}"

View file

@ -25,7 +25,7 @@
- "{{ valheim_port_a }}:2456/udp"
- "{{ valheim_port_b }}:2457/udp"
- "{{ valheim_port_c }}:2458/udp"
env: "{{ valheim_optional_env | default({}) | combine(valheim_env) }}"
env: "{{ valheim_env }}"
restart_policy: unless-stopped
memory: "{{ valheim_memory }}"
capabilities: