Victor Lacasse-Beaudoin
789af54121
[]string -> map[string]string Add DisplayName object to use in documentation-html render
68 lines
2 KiB
YAML
68 lines
2 KiB
YAML
# Server configuration
|
|
server:
|
|
# Port on which to run the webserver
|
|
#
|
|
# Currently only opens to all interfaces, and exposes the
|
|
# html and REST API routes on the same port.
|
|
port: 8080
|
|
|
|
documents:
|
|
# Endpoint of the minio instance, without the protocol
|
|
#
|
|
# If deployed with docker-compose, specify minio's services.name
|
|
# (minio by default)
|
|
#
|
|
# If deployed elsewhere, specify minio's host ip or localhost if such is
|
|
# the case.
|
|
endpoint: 'minio:9000'
|
|
|
|
# Turn on to specify that requests to minio should be done over https
|
|
#
|
|
# Recommended to be turned on if minio instance is exposed to a network
|
|
# that others have access to (i.e. not an isolated docker network)
|
|
use_ssl: false
|
|
|
|
# Access credentials for minio instance.
|
|
#
|
|
# Can match either the initial credentials used during deployment of
|
|
# minio (.env for docker-compose) or credentials manually created in the minio instance.
|
|
#
|
|
# Change this to match your deployment
|
|
access_key_id: 'agecem-org'
|
|
secret_access_key: 'agecem-org'
|
|
|
|
# Which buckets are allowed to be manipulated in the minio instance by the application.
|
|
#
|
|
# Also used to specify which buckets are to be created on receiving a POST request on /v1/seed
|
|
buckets:
|
|
'proces-verbaux': 'Procès-verbaux'
|
|
'politiques': 'Politiques'
|
|
'reglements': 'Règlements'
|
|
'formulaires': 'Formulaires'
|
|
|
|
api:
|
|
# Enable or disable key auth on /v1 routes
|
|
#
|
|
# Recommended to be on in production
|
|
auth: true
|
|
|
|
# Key for authenticating to /v1 routes.
|
|
#
|
|
# Minimum 10 characters
|
|
#
|
|
# Change this in production
|
|
key: 'agecem-org'
|
|
|
|
admin:
|
|
# Enable or disable basic auth on /admin routes
|
|
#
|
|
# Recommended to be on in production
|
|
auth: true
|
|
|
|
# Username and password for authenticating to /admin routes
|
|
#
|
|
# Minimum 5 characters for username and 10 characters for password
|
|
#
|
|
# Change this in production
|
|
username: 'agecem-org'
|
|
password: 'agecem-org'
|