Work on putting Element in place
This commit is contained in:
parent
7337fb49ed
commit
c12d37cad2
@ -16,6 +16,7 @@
|
|||||||
- name: include tasks for applications
|
- name: include tasks for applications
|
||||||
include_tasks: tasks/{{ item }}
|
include_tasks: tasks/{{ item }}
|
||||||
with_items:
|
with_items:
|
||||||
|
- web/element-web.yml
|
||||||
- web/synapse.yml
|
- web/synapse.yml
|
||||||
tags: [ always ]
|
tags: [ always ]
|
||||||
roles:
|
roles:
|
||||||
@ -29,13 +30,10 @@
|
|||||||
ingress_servers:
|
ingress_servers:
|
||||||
- name: matrix.desu.ltd
|
- name: matrix.desu.ltd
|
||||||
proxies:
|
proxies:
|
||||||
- location: ~* ^(\/_matrix|\/_synapse\/client)
|
- location: "~* ^(\/_matrix|\/_synapse|\/_client)"
|
||||||
pass: http://synapse:8008
|
pass: http://synapse:8008
|
||||||
locations:
|
|
||||||
- location: /
|
- location: /
|
||||||
contents: |
|
pass: http://element:80
|
||||||
default_type text/html;
|
|
||||||
return 200 'Watch this space...';
|
|
||||||
directives:
|
directives:
|
||||||
- "client_max_body_size 0"
|
- "client_max_body_size 0"
|
||||||
tags: [ web, docker, ingress ]
|
tags: [ web, docker, ingress ]
|
||||||
|
13
playbooks/tasks/web/element-web.yml
Normal file
13
playbooks/tasks/web/element-web.yml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# vim:ft=ansible:
|
||||||
|
- name: docker deploy element-web
|
||||||
|
docker_container:
|
||||||
|
name: element-web
|
||||||
|
image: vectorim/riot-web:develop
|
||||||
|
env:
|
||||||
|
TZ: "America/Chicago"
|
||||||
|
networks:
|
||||||
|
- name: web
|
||||||
|
aliases: [ "element" ]
|
||||||
|
volumes:
|
||||||
|
- /data/element/config.json:/app/config.json
|
||||||
|
tags: [ docker, element ]
|
Loading…
Reference in New Issue
Block a user