2023-04-28 20:00:54 -04:00
|
|
|
# Server configuration
|
2023-04-21 16:41:50 -04:00
|
|
|
server:
|
2023-04-28 20:00:54 -04:00
|
|
|
# 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.
|
2023-04-21 16:41:50 -04:00
|
|
|
port: 8080
|
2023-04-28 20:00:54 -04:00
|
|
|
|
2023-04-21 16:41:50 -04:00
|
|
|
documents:
|
2023-04-28 20:00:54 -04:00
|
|
|
# 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.
|
2023-04-21 16:41:50 -04:00
|
|
|
endpoint: 'minio:9000'
|
2023-04-28 20:00:54 -04:00
|
|
|
|
|
|
|
# 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)
|
2023-04-21 16:41:50 -04:00
|
|
|
use_ssl: false
|
2023-04-28 20:00:54 -04:00
|
|
|
|
|
|
|
# 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'
|
2023-04-28 20:00:54 -04:00
|
|
|
|
|
|
|
# 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
|
2023-04-21 16:41:50 -04:00
|
|
|
buckets:
|
|
|
|
- 'proces-verbaux'
|
|
|
|
- 'politiques-et-reglements'
|
2023-04-28 20:00:54 -04:00
|
|
|
|
2023-04-21 21:32:02 -04:00
|
|
|
api:
|
2023-04-28 20:00:54 -04:00
|
|
|
# Enable or disable key auth on /v1 routes
|
|
|
|
#
|
|
|
|
# Recommended to be on in production
|
2023-04-21 21:32:02 -04:00
|
|
|
auth: true
|
2023-04-28 20:00:54 -04:00
|
|
|
|
|
|
|
# Key for authenticating to /v1 routes.
|
|
|
|
#
|
|
|
|
# Minimum 10 characters
|
|
|
|
#
|
|
|
|
# Change this in production
|
2023-04-21 21:32:02 -04:00
|
|
|
key: 'agecem-org'
|
2023-04-28 20:00:54 -04:00
|
|
|
|
|
|
|
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'
|