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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HongzheWang
slapos
Commits
33ff2ac8
Commit
33ff2ac8
authored
Jun 17, 2022
by
HongzheWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
matomo-tutorial:Add instance configuration file
parent
3fcbee15
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
0 deletions
+35
-0
software/matomo-tutorial/buildout.hash.cfg
software/matomo-tutorial/buildout.hash.cfg
+18
-0
software/matomo-tutorial/matomo-instance.cfg.in
software/matomo-tutorial/matomo-instance.cfg.in
+0
-0
software/matomo-tutorial/software.cfg
software/matomo-tutorial/software.cfg
+17
-0
No files found.
software/matomo-tutorial/buildout.hash.cfg
0 → 100644
View file @
33ff2ac8
# THIS IS NOT A BUILDOUT FILE, despite purposedly using a compatible syntax.
# The only allowed lines here are (regexes):
# - "^#" comments, copied verbatim
# - "^[" section beginings, copied verbatim
# - lines containing an "=" sign which must fit in the following categorie.
# - "^\s*filename\s*=\s*path\s*$" where "path" is relative to this file
# Copied verbatim.
# - "^\s*hashtype\s*=.*" where "hashtype" is one of the values supported
# by the re-generation script.
# Re-generated.
# - other lines are copied verbatim
# Substitution (${...:...}), extension ([buildout] extends = ...) and
# section inheritance (< = ...) are NOT supported (but you should really
# not need these here).
[template-matomo-instance]
filename = matomo-instance.cfg.in
md5sum = d41d8cd98f00b204e9800998ecf8427e
software/matomo-tutorial/matomo-instance.cfg.in
0 → 100644
View file @
33ff2ac8
software/matomo-tutorial/software.cfg
View file @
33ff2ac8
[buildout]
[buildout]
extends =
extends =
buildout.hash.cfg
# LAMP stands for Linux, Apache, MySQL, PHP
# LAMP stands for Linux, Apache, MySQL, PHP
../../stack/lamp/buildout.cfg
../../stack/lamp/buildout.cfg
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
...
@@ -12,6 +13,12 @@ parts =
...
@@ -12,6 +13,12 @@ parts =
# to create file instance.cfg of all instances
# to create file instance.cfg of all instances
lamp-instance
lamp-instance
# download bas
# inherited by modules that need to download files
[matomo-download]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
# download matomo
# download matomo
# The specific process of downloading and decompressing is defined in stack lamp
# The specific process of downloading and decompressing is defined in stack lamp
[application]
[application]
...
@@ -19,7 +26,17 @@ url = https://builds.matomo.org/matomo-4.7.1.zip
...
@@ -19,7 +26,17 @@ url = https://builds.matomo.org/matomo-4.7.1.zip
md5sum = 8d592676bc2c0d51363ad7b2caf171fe
md5sum = 8d592676bc2c0d51363ad7b2caf171fe
archive-root = matomo
archive-root = matomo
# give the location of the instance-matomo.cfg fil
# Without it the instance-matomo.cfg file will not be executed
[custom-application-deployment]
[custom-application-deployment]
path = ${template-matomo-instance:output}
part-list =
db-name = matomo
db-name = matomo
db-user = matomo
db-user = matomo
db-password = 12345678
db-password = 12345678
[template-matomo-instance]
recipe = slapos.recipe.template:jinja2
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance-matomo.cfg
context =
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