Matrix Riot service #15
6
roles/docker/files/configs/riot.im.conf
Normal file
6
roles/docker/files/configs/riot.im.conf
Normal file
|
@ -0,0 +1,6 @@
|
|||
-p 8765
|
||||
-A matrix
|
||||
-c 3500
|
||||
--ssl
|
||||
--cert /data/fullchain.pem
|
||||
--key /data/key.pem
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue