add hedgedoc stack

This commit is contained in:
Pim Kunis 2023-05-02 17:46:56 +02:00
parent 90e07a9898
commit b6feaa023c
5 changed files with 89 additions and 0 deletions

View file

@ -0,0 +1,15 @@
- name: Create working directory
file:
path: /srv/hedgedoc
state: directory
- name: Copy Docker stack file
template:
src: "{{ role_path }}/docker-stack.yml.j2"
dest: /srv/hedgedoc/docker-stack.yml
- name: Deploy Docker stack
docker_stack:
name: hedgedoc
compose:
- /srv/hedgedoc/docker-stack.yml