Merge branch 'master' of ssh://git.pizzapim.nl:56287/pim/homeservers
This commit is contained in:
commit
68981f3f66
6 changed files with 34 additions and 0 deletions
|
@ -18,6 +18,8 @@ All services below are running under Docker, except NSD and Borg.
|
||||||
- Calendar and contact synchronisation using [Radicale](https://radicale.org/v3.html) ([dav.pizzapim.nl](https://dav.pizzapim.nl))
|
- Calendar and contact synchronisation using [Radicale](https://radicale.org/v3.html) ([dav.pizzapim.nl](https://dav.pizzapim.nl))
|
||||||
- KMS server using [vlmcsd](https://github.com/Wind4/vlmcsd)
|
- KMS server using [vlmcsd](https://github.com/Wind4/vlmcsd)
|
||||||
- Cloud file storage using [Seafile](https://www.seafile.com)
|
- Cloud file storage using [Seafile](https://www.seafile.com)
|
||||||
|
- Inbucket disposable webmail, Mailinator alternative (https://inbucket.org)
|
||||||
|
- Jitsi Meet (https://meet.jit.si)
|
||||||
- Backups using [Borg](https://www.borgbackup.org/) and [Borgmatic](https://torsion.org/borgmatic/)
|
- Backups using [Borg](https://www.borgbackup.org/) and [Borgmatic](https://torsion.org/borgmatic/)
|
||||||
- RSS feed reader using [FreshRSS](https://miniflux.app/)
|
- RSS feed reader using [FreshRSS](https://miniflux.app/)
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
- {role: 'jitsi', tags: 'jitsi'}
|
- {role: 'jitsi', tags: 'jitsi'}
|
||||||
- {role: 'freshrss', tags: 'freshrss'}
|
- {role: 'freshrss', tags: 'freshrss'}
|
||||||
- {role: 'blog', tags: 'blog'}
|
- {role: 'blog', tags: 'blog'}
|
||||||
|
- {role: 'inbucket', tags: 'inbucket'}
|
||||||
- name: Setup dataserver
|
- name: Setup dataserver
|
||||||
hosts: dataserver
|
hosts: dataserver
|
||||||
roles:
|
roles:
|
||||||
|
|
11
roles/inbucket/files/docker-compose.yml
Normal file
11
roles/inbucket/files/docker-compose.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
version: "3.7"
|
||||||
|
|
||||||
|
services:
|
||||||
|
kms-server:
|
||||||
|
image: inbucket/inbucket
|
||||||
|
container_name: inbucket
|
||||||
|
ports:
|
||||||
|
- 2500:2500
|
||||||
|
- 9000:9000
|
||||||
|
restart: always
|
||||||
|
|
4
roles/inbucket/meta/main.yml
Normal file
4
roles/inbucket/meta/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
dependencies:
|
||||||
|
- role: common
|
||||||
|
- role: docker
|
||||||
|
|
14
roles/inbucket/tasks/main.yml
Normal file
14
roles/inbucket/tasks/main.yml
Normal 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
|
||||||
|
|
2
roles/inbucket/vars/main.yml
Normal file
2
roles/inbucket/vars/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
service_name: inbucket
|
||||||
|
service_dir: "{{ base_service_dir }}/{{ service_name }}"
|
Reference in a new issue