docker-tmodloader14 - Create log volume
This commit is contained in:
parent
4bc0623d51
commit
c4bfa17c83
@ -17,6 +17,7 @@
|
|||||||
- "{{ tmodloader_data_prefix }}/data/ModLoader"
|
- "{{ tmodloader_data_prefix }}/data/ModLoader"
|
||||||
- "{{ tmodloader_data_prefix }}/data/ModLoader/Mods"
|
- "{{ tmodloader_data_prefix }}/data/ModLoader/Mods"
|
||||||
- "{{ tmodloader_data_prefix }}/data/ModLoader/Worlds"
|
- "{{ tmodloader_data_prefix }}/data/ModLoader/Worlds"
|
||||||
|
- "{{ tmodloader_data_prefix }}/logs"
|
||||||
- name: assure mods
|
- name: assure mods
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: "curl -L \"{{ tmodloader_mod_server }}\" -o \"{{ item }}.tmod\" && chown \"{{ tmodloader_uid }}:{{ tmodloader_gid }}\" \"{{ item }}.tmod\""
|
cmd: "curl -L \"{{ tmodloader_mod_server }}\" -o \"{{ item }}.tmod\" && chown \"{{ tmodloader_uid }}:{{ tmodloader_gid }}\" \"{{ item }}.tmod\""
|
||||||
@ -72,3 +73,4 @@
|
|||||||
volumes:
|
volumes:
|
||||||
- "{{ tmodloader_data_prefix }}/data:/terraria"
|
- "{{ tmodloader_data_prefix }}/data:/terraria"
|
||||||
- "{{ tmodloader_data_prefix }}/config.txt:/terraria/config.txt"
|
- "{{ tmodloader_data_prefix }}/config.txt:/terraria/config.txt"
|
||||||
|
- "{{ tmodloader_data_prefix }}/logs:/terraria-server/tModLoader-Logs"
|
||||||
|
Loading…
Reference in New Issue
Block a user