How to configure bootstrap process
To configure the bootstrap process and launch the platform deployment, the first step is creating an extra_vars.yml
file containing all the parameters you want to override. For example, you can enable the mysql
extension and configure the platform to use it.
extra_vars.yaml
# platform configuration parameters
config:
# MySQL connection data.
mysql_server: database-server
mysql_database: meaningcloud
mysql_user: mc-user
mysql_password: mc-pass
# enable and customize extensions
extensions:
mysql:
enable: true
params:
database: meaningcloud
user: mc-user
password: mc-pass
Or you can enable the caddy
extension as the platform reverse proxy and the adminer
extension to manage the platform database:
extra_vars.yaml
# enable and customize extensions
extensions:
caddy:
enable: true
params:
http_port: 80
# Enables HTTPS and automatic certificate generation using Let's Encrypt or ZeroSSL
https_enable: true
# Port used to serve HTTPS (443 is recommended)
https_port: 443
addresses:
- mconpremise.example.com
adminer:
enable: true
Note
The
adminer
extension will be accessible athttps://mconpremise.example.com/dbadmin/
If you don’t want to generate TLS certificates and serve the reverse proxy in port 8080
:
extra_vars.yaml
# enable and customize extensions
extensions:
caddy:
enable: true
params:
http_port: 8080
https_enable: false
adminer:
enable: true
Note
The
adminer
extension will be accessible athttp://<platform_address_or_ip>:8080/dbadmin/