mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
13
roles/web-app-collabora/templates/docker-compose.yml.j2
Normal file
13
roles/web-app-collabora/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
|
||||
collabora:
|
||||
image: collabora/code
|
||||
container_name: collabora
|
||||
ports:
|
||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:80"
|
||||
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
|
||||
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
4
roles/web-app-collabora/templates/env.j2
Normal file
4
roles/web-app-collabora/templates/env.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
domain=nxsrv
|
||||
username=admin
|
||||
password=${COLLABRA_PASSWORD}
|
||||
extra_params=--o:ssl.enable=false --o:ssl.termination=true
|
15
roles/web-app-collabora/templates/nginx.conf.j2
Normal file
15
roles/web-app-collabora/templates/nginx.conf.j2
Normal file
@@ -0,0 +1,15 @@
|
||||
server {
|
||||
server_name {{domain}};
|
||||
|
||||
{% include 'roles/letsencrypt/templates/ssl_header.j2' %}
|
||||
|
||||
{% include 'roles/webserver-injector-core/templates/global.includes.conf.j2'%}
|
||||
|
||||
{% include 'roles/webserver-proxy-core/templates/headers/content_security_policy.conf.j2' %}
|
||||
|
||||
{% include 'roles/webserver-proxy-core/templates/location/proxy_basic.conf.j2' %}
|
||||
|
||||
{% set location = '^~ /cool/' %}
|
||||
|
||||
{% include 'roles/webserver-proxy-core/templates/location/proxy_basic.conf.j2' %}
|
||||
}
|
Reference in New Issue
Block a user