Updated baserow CSP adn variables for new Infinito.Nexus structure

This commit is contained in:
2025-08-26 22:20:31 +02:00
parent 97f4045c68
commit 942e8c9c12
4 changed files with 30 additions and 12 deletions

View File

@@ -7,9 +7,9 @@ features:
docker: docker:
services: services:
redis: redis:
enabled: true enabled: true
database: database:
enabled: true enabled: true
baserow: baserow:
backup: backup:
no_stop_required: true no_stop_required: true
@@ -17,8 +17,19 @@ docker:
version: "latest" version: "latest"
name: "baserow" name: "baserow"
volumes: volumes:
data: "baserow_data" data: "baserow_data"
server: server:
domains: domains:
canonical: canonical:
- baserow.{{ PRIMARY_DOMAIN }} - baserow.{{ PRIMARY_DOMAIN }}
csp:
whitelist:
worker-src:
- "blob:"
connect-src:
- "https://sentry.com/"
flags:
script-src-elem:
unsafe-inline: true
style-src:
unsafe-inline: true

View File

@@ -2,8 +2,8 @@
application: application:
{% include 'roles/docker-container/templates/base.yml.j2' %} {% include 'roles/docker-container/templates/base.yml.j2' %}
image: "{{ baserow_image }}:{{ baserow_version }}" image: "{{ BASEROW_IMAGE }}:{{ BASEROW_VERSION }}"
container_name: {{ baserow_name }} container_name: {{ BASEROW_CONTAINER }}
volumes: volumes:
- data:/baserow/data - data:/baserow/data
ports: ports:
@@ -13,6 +13,6 @@
{% include 'roles/docker-compose/templates/volumes.yml.j2' %} {% include 'roles/docker-compose/templates/volumes.yml.j2' %}
data: data:
name: {{ baserow_volume }} name: {{ BASEROW_VOLUME }}
{% include 'roles/docker-compose/templates/networks.yml.j2' %} {% include 'roles/docker-compose/templates/networks.yml.j2' %}

View File

@@ -1,5 +1,8 @@
# All Configuration Options:
# https://baserow.io/docs/installation/configuration
# Public URL # Public URL
BASEROW_PUBLIC_URL={{ domains | get_url(application_id, WEB_PROTOCOL) }} BASEROW_PUBLIC_URL={{ BASEROW_PUBLIC_URL }}
# Email Server Configuration # Email Server Configuration
EMAIL_SMTP={{ SYSTEM_EMAIL.SMTP | upper }} EMAIL_SMTP={{ SYSTEM_EMAIL.SMTP | upper }}

View File

@@ -1,7 +1,11 @@
# General
application_id: "web-app-baserow" application_id: "web-app-baserow"
database_password: "{{ applications | get_app_conf(application_id, 'credentials.database_password', True) }}" database_password: "{{ applications | get_app_conf(application_id, 'credentials.database_password') }}"
database_type: "postgres" database_type: "postgres"
baserow_version: "{{ applications | get_app_conf(application_id, 'docker.services.baserow.version', True) }}"
baserow_image: "{{ applications | get_app_conf(application_id, 'docker.services.baserow.image', True) }}" # Baserow
baserow_name: "{{ applications | get_app_conf(application_id, 'docker.services.baserow.name', True) }}" BASEROW_PUBLIC_URL: "{{ domains | get_url(application_id, WEB_PROTOCOL) }}"
baserow_volume: "{{ applications | get_app_conf(application_id, 'docker.volumes.data', True) }}" BASEROW_VERSION: "{{ applications | get_app_conf(application_id, 'docker.services.baserow.version') }}"
BASEROW_IMAGE: "{{ applications | get_app_conf(application_id, 'docker.services.baserow.image') }}"
BASEROW_CONTAINER: "{{ applications | get_app_conf(application_id, 'docker.services.baserow.name') }}"
BASEROW_VOLUME: "{{ applications | get_app_conf(application_id, 'docker.volumes.data') }}"