Skip to content

Commit

Permalink
Attempt to fix docker problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Bergruebe committed Apr 24, 2024
1 parent 3770820 commit 865e951
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
with_items:
- {path: "{{ wallabag_base_path }}", when: true}
- {path: "{{ wallabag_config_path }}", when: true}
- {path: "{{ wallabag_config_path }}/etc/wallabag", when: true}

- name: Ensure wallabag data and images path exists
ansible.builtin.file:
Expand All @@ -26,7 +27,6 @@
group: "{{ wallabag_gid }}"
with_items:
- {path: "{{ wallabag_data_path }}", when: true}
- {path: "{{ wallabag_images_path }}", when: true}


- name: Ensure wallabag traefik labels are installed
Expand All @@ -52,6 +52,6 @@

- name: Ensure wallabag.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/wallabag.service.j2"
src: "{{ role_path }}/templates/wallabag.service.j2"
dest: "{{ devture_systemd_docker_base_systemd_path }}/{{ wallabag_identifier }}.service"
mode: "0644"
3 changes: 2 additions & 1 deletion templates/wallabag.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ ExecStartPre={{ devture_systemd_docker_base_host_command_docker }} create \
{% endif %}
--label-file={{ wallabag_config_path }}/labels \
--network={{ wallabag_container_network }} \
--mount type=bind,src={{ wallabag_data_path }},dst=/wallabag/storage \
--mount type=bind,src={{ wallabag_data_path }},dst=/var/www/wallabag \
--mount type=bind,src={{ wallabag_config_path }}/etc/wallabag,dst=/etc/wallabag \
--read-only \
--tmpfs=/tmp:rw,noexec,nosuid,size=100m \
--env-file={{ wallabag_env_path }} \
Expand Down

0 comments on commit 865e951

Please sign in to comment.