added inbucket docker compose etc.

This commit is contained in:
pizzaniels 2023-01-27 23:18:21 +01:00
parent 1a2a60e719
commit 5dc9906976
5 changed files with 32 additions and 0 deletions

View file

@ -13,6 +13,7 @@
- {role: 'jitsi', tags: 'jitsi'}
- {role: 'freshrss', tags: 'freshrss'}
- {role: 'blog', tags: 'blog'}
- {role: 'inbucket', tags: 'inbucket'}
- name: Setup dataserver
hosts: dataserver
roles:

View file

@ -0,0 +1,11 @@
version: "3.7"
services:
kms-server:
image: inbucket/inbucket
container_name: inbucket
ports:
- 2500:2500
- 9000:9000
restart: always

View file

@ -0,0 +1,4 @@
dependencies:
- role: common
- role: docker

View file

@ -0,0 +1,14 @@
- name: Create app directory
file:
path: "{{ service_dir }}"
state: directory
- name: Copy Docker Compose script
copy:
src: "{{ role_path }}/files/docker-compose.yml"
dest: "{{ service_dir }}/docker-compose.yml"
- name: Start the Docker Compose
docker_compose:
project_src: "{{ service_dir }}"
pull: true
remove_orphans: true

View file

@ -0,0 +1,2 @@
service_name: inbucket
service_dir: "{{ base_service_dir }}/{{ service_name }}"