add inbucket stack

This commit is contained in:
Pim Kunis 2023-05-03 12:03:39 +02:00
parent 29f29e2df1
commit ab147a5543
3 changed files with 25 additions and 0 deletions

View file

@ -12,3 +12,4 @@
- {role: hedgedoc, tags: hedgedoc}
- {role: overleaf, tags: overleaf}
- {role: cyberchef, tags: cyberchef}
- {role: inbucket, tags: inbucket}

View file

@ -0,0 +1,9 @@
# vi: ft=yaml
version: "3.7"
services:
kms-server:
image: inbucket/inbucket
ports:
- 2500:2500
- 9000:9000

View file

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