75 lines
1.7 KiB
YAML
75 lines
1.7 KiB
YAML
---
|
|
|
|
# Name of this instance
|
|
instance: cloudbeaver
|
|
|
|
|
|
cloudbeaver:
|
|
|
|
# Version of cloudbeaver to deploy
|
|
version: 24.0.1
|
|
|
|
# Docker image to use
|
|
image: '[[ .docker.repo ]]cloudbeaver:[[ .cloudbeaver.version ]]-1'
|
|
|
|
# Resources for the container
|
|
resources:
|
|
cpu: 100
|
|
memory: 384
|
|
|
|
vault:
|
|
# Vault policies to attach to the container
|
|
policies:
|
|
- '[[ .instance ]][[ .consul.suffix ]]'
|
|
# Random secrets to generate
|
|
rand_secrets:
|
|
fields:
|
|
- initial_admin_pwd
|
|
|
|
consul:
|
|
connect:
|
|
# Connect to the postgres server
|
|
upstreams:
|
|
- destination_name: postgres[[ .consul.suffix ]]
|
|
local_bind_port: 5432
|
|
|
|
# Wait for postgres master to be ready before starting
|
|
wait_for:
|
|
- service: master.postgres[[ .consul.suffix ]]
|
|
|
|
# Custom env var to set in the container
|
|
env: {}
|
|
|
|
# Custom configuration which will be merged with the default template
|
|
# Eg
|
|
# config:
|
|
# app:
|
|
# enabledAuthProviders:
|
|
# - reverseProxy
|
|
# - local
|
|
# authConfigurations:
|
|
# - id: lemonldap
|
|
# provider: reverseProxy
|
|
# displayName: Lemonldap::NG
|
|
# parameters:
|
|
# user-header: X-SSO-User
|
|
# team-header: X-SSO-Groups
|
|
# team-delimiter: ','
|
|
# first-name-header: X-SSO-Firstname
|
|
# last-name-header: X-SSO-Lastname
|
|
# Can be either a map, or a string which will be parsed as YAML before merging
|
|
config: {}
|
|
|
|
# URL where cloudbeaver will be exposed
|
|
public_url: https://cloudbeaver.example.org
|
|
|
|
# Traefik settings
|
|
traefik: {}
|
|
|
|
# CSI volumes for data persistence
|
|
volumes:
|
|
data:
|
|
source: '[[ .instance ]]-data'
|
|
type: csi
|
|
|