Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
4fd65f84
Commit
4fd65f84
authored
Jan 24, 2023
by
Xavier Thompson
Committed by
Thomas Gambier
Nov 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/matomo-tutorial: Pre-fill the database installation form
parent
5997329c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
software/matomo-tutorial/software.cfg
software/matomo-tutorial/software.cfg
+17
-0
No files found.
software/matomo-tutorial/software.cfg
View file @
4fd65f84
...
...
@@ -14,3 +14,20 @@ archive-root = matomo
# Customize the database name and username
db-name = matomo
db-user = matomo
# Include custom configuration in the instance deployed by stack/lamp
path = ${custom-instance-configuration:output}
[custom-instance-configuration]
# Define custom configuration for the instance deployed by stack/lamp
recipe = slapos.recipe.template
output = ${buildout:directory}/custom-matomo-instance-configuration.cfg
inline =
[apache-php-service]
# Pre-fill the database installation form with the required values
environment =
MATOMO_DATABASE_HOST=$${mariadb-urlparse:host}:$${mariadb-urlparse:port}
MATOMO_DATABASE_ADAPTER=mysql
MATOMO_DATABASE_TABLES_PREFIX=matomo_
MATOMO_DATABASE_USERNAME=$${mariadb-urlparse:username}
MATOMO_DATABASE_PASSWORD=$${mariadb-urlparse:password}
MATOMO_DATABASE_DBNAME=$${mariadb-urlparse:path}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment