add overleaf stack

This commit is contained in:
Pim Kunis 2023-05-03 07:35:18 +02:00
parent b6feaa023c
commit 65672c72b0
3 changed files with 129 additions and 0 deletions

View file

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