Files
ocis/services/_includes/storage-users-config-example.yaml
T
Ralf Haferkamp 85ffb85c9f commit ee974afebf
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Thu Nov 3 10:17:08 2022 +0100

    [full-ci] Introduce TLS Settings for go-micro based grpc services and clients (#4901)

    * Introduce TLS Settings for go-micro based grpc services and clients

    TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
    "OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
    enviroment variables.

    TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
    and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.

    By default TLS is disabled.

    Co-authored-by: Martin <github@diemattels.at>

    * Unify TLS configuration for all grpc services

    All grpc service (whether they're based on reva) or go-micro use the
    same set of config vars now.

    TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
    OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.

    TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
    and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.

    There are no individual per service config vars currently. If really
    needed, per service tls configurations can be specified via config file.

    Co-authored-by: Martin <github@diemattels.at>

    Co-authored-by: Martin <github@diemattels.at>
2022-11-03 09:20:09 +00:00

85 lines
1.9 KiB
YAML

# Autogenerated
# Filename: storage-users-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9159
token: ""
pprof: false
zpages: false
grpc:
addr: 127.0.0.1:9157
tls:
enabled: false
cert: ""
key: ""
protocol: tcp
http:
addr: 127.0.0.1:9158
protocol: tcp
prefix: data
token_manager:
jwt_secret: ""
reva:
address: 127.0.0.1:9142
tls:
mode: ""
'cacert env:': ""
skip_user_groups_in_token: false
driver: ocis
drivers:
ocis:
root: ~/.ocis/storage/users
user_layout: '{{.Id.OpaqueId}}'
permissions_endpoint: 127.0.0.1:9191
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
share_folder: /Shares
s3ng:
root: ~/.ocis/storage/users
user_layout: '{{.Id.OpaqueId}}'
permissions_endpoint: 127.0.0.1:9191
region: default
access_key: ""
secret_key: ""
endpoint: ""
bucket: ""
personalspacealias_template: '{{.SpaceType}}/{{.User.Username | lower}}'
generalspacealias_template: '{{.SpaceType}}/{{.SpaceName | replace " " "-" | lower}}'
share_folder: /Shares
owncloudsql:
root: ~/.ocis/storage/owncloud
share_folder: /Shares
user_layout: '{{.Username}}'
upload_info_dir: ~/.ocis/storage/uploadinfo
db_username: owncloud
db_password: owncloud
db_host: ""
db_port: 3306
db_name: owncloud
users_provider_endpoint: localhost:9144
data_server_url: http://localhost:9158/data
events:
endpoint: 127.0.0.1:9233
cluster: ocis-cluster
tls_insecure: false
tls_root_ca_cert_path: ""
enable_tls: false
cache:
store: memory
nodes: []
database: users
mount_id: 1284d238-aa92-42ce-bdc4-0b0000009157
expose_data_server: false
readonly: false
upload_expiration: 86400