chore(gotosocial): fix container mounts

This commit is contained in:
transcaffeine 2022-08-25 07:40:42 +02:00
parent 601af978cd
commit 6a0924c72c
Signed by: transcaffeine
GPG Key ID: 03624C433676E465
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
---
gotosocial_user: "gotosocial"
gotosocial_version: 0.3.6
gotosocial_version: 0.3.8
gotosocial_base_path: "/opt/gotosocial"
gotosocial_config_path: "{{ gotosocial_base_path }}/config"
gotosocial_template_path: "{{ gotosocial_base_path }}/templates"
@ -111,6 +111,7 @@ gotosocial_container_volumes: >-2
gotosocial_container_default_volumes:
- "{{ gotosocial_config_file }}:/gotosocial/config.yaml:ro"
- "{{ gotosocial_storage_path }}:/gotosocial/storage:z"
- "{{ gotosocial_template_path }}:/gotosocial/web/templates:ro"
gotosocial_container_extra_volumes: []
gotosocial_container_env: {}

View File

@ -20,6 +20,8 @@
- name: "{{ gotosocial_base_path }}"
- name: "{{ gotosocial_config_path }}"
- name: "{{ gotosocial_storage_path }}"
- name: "{{ gotosocial_template_path }}"
- name: "{{ gotosocial_asset_path }}"
mode: '0770'
loop_control:
loop_var: path