agecem-org/examples/config/agecem-org.yaml

67 lines
1.9 KiB
YAML
Raw Normal View History

# 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
2023-04-21 21:32:02 -04:00
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'
- 'politiques-et-reglements'
2023-04-21 21:32:02 -04:00
api:
# Enable or disable key auth on /v1 routes
#
# Recommended to be on in production
2023-04-21 21:32:02 -04:00
auth: true
# Key for authenticating to /v1 routes.
#
# Minimum 10 characters
#
# Change this in production
2023-04-21 21:32:02 -04:00
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'