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:
34
roles/web-app-baserow/README.md
Normal file
34
roles/web-app-baserow/README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# Baserow
|
||||
|
||||
## Description
|
||||
|
||||
Empower your data management with Baserow, an innovative platform that makes building and managing databases both fun and efficient. Enjoy a dynamic interface, seamless collaboration, and energetic tools that supercharge your workflow.
|
||||
|
||||
## Overview
|
||||
|
||||
This role deploys Baserow using Docker Compose, integrating key components such as PostgreSQL for the database, Redis for caching, and Nginx for secure domain management and certificate handling. It is designed to offer a robust, scalable solution for running your own Baserow instance in a containerized environment.
|
||||
|
||||
## Features
|
||||
|
||||
- **Intuitive Database Management:** Easily build, manage, and interact with your databases through a user-friendly interface.
|
||||
- **Seamless Collaboration:** Collaborate in real time with team members, ensuring smooth data sharing and project management.
|
||||
- **Dynamic Customization:** Adapt workflows and database structures to suit your specific needs.
|
||||
- **Scalable Architecture:** Efficiently handle increasing workloads while maintaining high performance.
|
||||
- **Robust API Integration:** Leverage a comprehensive API to extend functionalities and integrate with other systems.
|
||||
|
||||
## Further Resources
|
||||
|
||||
- [Baserow Homepage](https://baserow.io/)
|
||||
- [Enable Single Sign-On (SSO)](https://baserow.io/user-docs/enable-single-sign-on-sso)
|
||||
|
||||
## SSO
|
||||
|
||||
SSO is only available in the Enterprise Edition. LDAP configuration is not supported. For more details, please refer to the [Baserow SSO Documentation](https://baserow.io/user-docs/enable-single-sign-on-sso).
|
||||
|
||||
## Credits
|
||||
|
||||
Developed and maintained by **Kevin Veen-Birkenbach**.
|
||||
Learn more at [veen.world](https://www.veen.world).
|
||||
|
||||
Part of the [CyMaIS Project](https://github.com/kevinveenbirkenbach/cymais)
|
||||
Licensed under [CyMaIS NonCommercial License (CNCL)](https://s.veen.world/cncl).
|
24
roles/web-app-baserow/meta/main.yml
Normal file
24
roles/web-app-baserow/meta/main.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Empower your data management with Baserow, an innovative platform that makes building and managing databases both fun and efficient. Enjoy a dynamic interface, seamless collaboration, and energetic tools that supercharge your workflow."
|
||||
license: "CyMaIS NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
galaxy_tags:
|
||||
- baserow
|
||||
- docker
|
||||
- data management
|
||||
- databases
|
||||
repository: https://s.veen.world/cymais
|
||||
issue_tracker_url: https://s.veen.world/cymaisissues
|
||||
documentation: https://s.veen.world/cymais
|
||||
logo:
|
||||
class: "fa-solid fa-table"
|
||||
run_after:
|
||||
- web-app-matomo
|
||||
- web-app-keycloak
|
||||
- web-app-mailu
|
0
roles/web-app-baserow/meta/schema.yml
Normal file
0
roles/web-app-baserow/meta/schema.yml
Normal file
11
roles/web-app-baserow/tasks/main.yml
Normal file
11
roles/web-app-baserow/tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- name: "include service-rdbms-central"
|
||||
include_role:
|
||||
name: service-rdbms-central
|
||||
|
||||
- name: "include role webserver-proxy-domain for {{application_id}}"
|
||||
include_role:
|
||||
name: webserver-proxy-domain
|
||||
vars:
|
||||
domain: "{{ domains | get_domain(application_id) }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
18
roles/web-app-baserow/templates/docker-compose.yml.j2
Normal file
18
roles/web-app-baserow/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,18 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
|
||||
application:
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
image: "{{ applications[application_id].images.baserow }}"
|
||||
container_name: baserow-application
|
||||
volumes:
|
||||
- data:/baserow/data
|
||||
ports:
|
||||
- "{{ports.localhost.http[application_id]}}:80"
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
||||
|
||||
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
||||
data:
|
||||
redis:
|
||||
|
||||
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
18
roles/web-app-baserow/templates/env.j2
Normal file
18
roles/web-app-baserow/templates/env.j2
Normal file
@@ -0,0 +1,18 @@
|
||||
# Public URL
|
||||
BASEROW_PUBLIC_URL=https://{{ domain }}
|
||||
|
||||
# Email Server Configuration
|
||||
EMAIL_SMTP={{ system_email.smtp | upper }}
|
||||
EMAIL_SMTP_HOST={{ system_email.host }}
|
||||
EMAIL_SMTP_PORT={{ system_email.port }}
|
||||
EMAIL_SMTP_USER={{ users['no-reply'].email }}
|
||||
EMAIL_SMTP_PASSWORD={{ users['no-reply'].mailu_token }}
|
||||
EMAIL_SMTP_USE_TLS={{ system_email.tls | upper }}
|
||||
|
||||
DATABASE_USER={{ database_username }}
|
||||
DATABASE_NAME={{ database_name }}
|
||||
DATABASE_HOST={{ database_host }}
|
||||
DATABASE_PORT={{database_port}}
|
||||
DATABASE_PASSWORD={{ database_password }}
|
||||
|
||||
REDIS_URL=redis://redis:6379
|
13
roles/web-app-baserow/vars/configuration.yml
Normal file
13
roles/web-app-baserow/vars/configuration.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
images:
|
||||
baserow: "baserow/baserow:latest"
|
||||
features:
|
||||
matomo: true
|
||||
css: true
|
||||
portfolio_iframe: true
|
||||
central_database: true
|
||||
docker:
|
||||
services:
|
||||
redis:
|
||||
enabled: true
|
||||
database:
|
||||
enabled: true
|
5
roles/web-app-baserow/vars/main.yml
Normal file
5
roles/web-app-baserow/vars/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
application_id: "baserow"
|
||||
database_password: "{{ baserow_database_password }}"
|
||||
database_type: "postgres"
|
||||
domain: "{{ domains | get_domain(application_id) }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
Reference in New Issue
Block a user