Skip to content
Snippets Groups Projects
Commit 84d21c38 authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !78
parents e80c43c8 391f0dff
No related branches found
No related tags found
1 merge request!78Merging develop into main
Pipeline #1006730 passed
...@@ -203,6 +203,7 @@ class Handler extends BaseHandler { ...@@ -203,6 +203,7 @@ class Handler extends BaseHandler {
], ],
'unlighthouse' => [ 'unlighthouse' => [
'enable' => $this->env->receiveGlobal('UNLIGHTHOUSE', 'Unlighthouse', '0'), 'enable' => $this->env->receiveGlobal('UNLIGHTHOUSE', 'Unlighthouse', '0'),
'urlprefix' => '',
], ],
]; ];
} }
......
...@@ -593,7 +593,7 @@ services: ...@@ -593,7 +593,7 @@ services:
traefik.enable: 'true' traefik.enable: 'true'
traefik.docker.network: traefik-public traefik.docker.network: traefik-public
traefik.http.services.{{ projectname }}_unlighthouse.loadbalancer.server.port: 5678 traefik.http.services.{{ projectname }}_unlighthouse.loadbalancer.server.port: 5678
traefik.http.routers.unlighthouse-{{ projectname }}.rule: Host(`{{ projectdomain }}`) traefik.http.routers.unlighthouse-{{ projectname }}.rule: Host(`unlighthouse-{{ projectdomain }}`)
{% if drupal.live|default(0) or traefik.usessl %} {% if drupal.live|default(0) or traefik.usessl %}
traefik.http.routers.unlighthouse-{{ projectname }}.tls: 'true' traefik.http.routers.unlighthouse-{{ projectname }}.tls: 'true'
traefik.http.routers.unlighthouse-{{ projectname }}.tls.certresolver: lakedrops traefik.http.routers.unlighthouse-{{ projectname }}.tls.certresolver: lakedrops
......
export default {
puppeteerOptions: {
args: ["--no-sandbox"],
},
server: {
open: false,
},
site: "{{ projectprotocol }}://{{ projectdomain }}",
serverUrl: "{{ projectprotocol }}:/unlighthouse-{{ projectdomain }}/",
clientUrl: "{{ projectprotocol }}://unlighthouse-{{ projectdomain }}/",
apiUrl: "{{ projectprotocol }}://unlighthouse-{{ projectdomain }}/api",
websocketUrl: "{{ socketprotocol }}://unlighthouse-{{ projectdomain }}/api/ws",
}
export default {
puppeteerOptions: {
args: ["--no-sandbox"],
},
server: {
open: false,
},
site: "{{ projectprotocol }}://{{ projectdomain }}{{ unlighthouse.urlprefix|default('') }}",
{% if basicauth.enable %}
auth: {
username: "{{ basicauth.user }}",
password: "{{ basicauth.pass }}",
},
{% endif %}
serverUrl: "{{ projectprotocol }}://unlighthouse-{{ projectdomain }}/",
clientUrl: "{{ projectprotocol }}://unlighthouse-{{ projectdomain }}/",
apiUrl: "{{ projectprotocol }}://unlighthouse-{{ projectdomain }}/api",
websocketUrl: "{{ socketprotocol }}://unlighthouse-{{ projectdomain }}/api/ws",
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment