Matrix Riot service #15

Merged
valberg merged 11 commits from matrix-riot into master 2019-02-09 21:47:13 +00:00
2 changed files with 32 additions and 1 deletions
Showing only changes of commit f30f07eacb - Show all commits

View file

@ -0,0 +1,6 @@
-p 8765
-A matrix
-c 3500
--ssl
--cert /data/fullchain.pem
--key /data/key.pem

View file

@ -8,6 +8,20 @@
docker_volume:
name: matrix_db
- name: riot volume
docker_volume:
name: riot_app
- name: upload riot config.json
template:
src: files/riot-config.json
dest: /var/lib/docker/volumes/riot_app/data/config.json
- name: upload riot.im.conf
template:
src: files/riot.im.conf
dest: /var/lib/docker/volumes/riot_app/data/riot.im.conf
- name: matrix container
docker_container:
name: matrix
@ -26,10 +40,21 @@
state: started
restart_policy: always
networks:
- name: nextcloud
- name: matrix
volumes:
- matrix_db:/var/lib/postgresql/data
env:
POSTGRES_DB: somethingelse
POSTGRES_USER: matrix
POSTGRES_PASSWORD: "{{ postgres_passwords.matrix }}"
- name: riot container
docker_container:
name: riot_app
image: avhost/docker-matrix-riot
state: started
restart_policy: always
networks:
- name: matrix
- name: external_services