Work on putting Element in place
This commit is contained in:
parent
7337fb49ed
commit
c12d37cad2
@ -16,6 +16,7 @@
|
||||
- name: include tasks for applications
|
||||
include_tasks: tasks/{{ item }}
|
||||
with_items:
|
||||
- web/element-web.yml
|
||||
- web/synapse.yml
|
||||
tags: [ always ]
|
||||
roles:
|
||||
@ -29,13 +30,10 @@
|
||||
ingress_servers:
|
||||
- name: matrix.desu.ltd
|
||||
proxies:
|
||||
- location: ~* ^(\/_matrix|\/_synapse\/client)
|
||||
- location: "~* ^(\/_matrix|\/_synapse|\/_client)"
|
||||
pass: http://synapse:8008
|
||||
locations:
|
||||
- location: /
|
||||
contents: |
|
||||
default_type text/html;
|
||||
return 200 'Watch this space...';
|
||||
pass: http://element:80
|
||||
directives:
|
||||
- "client_max_body_size 0"
|
||||
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