use existing config folder
This commit is contained in:
parent
b93a9e0159
commit
0bda16035e
2 changed files with 1 additions and 8 deletions
|
@ -52,8 +52,6 @@ docker_compose_options:
|
|||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 2
|
||||
volumes:
|
||||
- /etc/invidious_container:/invidious/config/
|
||||
depends_on:
|
||||
- invidious-db
|
||||
invidious-db:
|
||||
|
|
|
@ -8,14 +8,9 @@
|
|||
name: apache_ssl_vhosts
|
||||
when: handle_apache2_reverse_proxy
|
||||
|
||||
- name: Ensure Invidious configuration folder exists in host
|
||||
file:
|
||||
path: /etc/invidious_container
|
||||
state: directory
|
||||
|
||||
- name: Ensure Invidious configuration file exists in host
|
||||
copy:
|
||||
dest: /etc/invidious_container/config.yml
|
||||
dest: "{{ invidious_folder }}/config/config.yml"
|
||||
content: "{{ invidious_config | to_yaml() }}"
|
||||
backup: true
|
||||
|
||||
|
|
Loading…
Reference in a new issue