-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from axonivy-market/develop
MARP-1409 Create new release 1.5.0
- Loading branch information
Showing
85 changed files
with
3,763 additions
and
3,005 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
name: Release Build | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
workflow_dispatch: | ||
inputs: | ||
release_version: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: matomo-prod | ||
|
||
services: | ||
matomo-db: | ||
image: mysql:9.1.0 | ||
container_name: matomo-db | ||
restart: always | ||
volumes: | ||
- matomo-data:/var/lib/mysql:Z | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} | ||
- MYSQL_DATABASE=${MYSQL_DATABASE} | ||
- MYSQL_USER=${MYSQL_USER} | ||
- MYSQL_PASSWORD=${MYSQL_PASSWORD} | ||
ports: | ||
- 3310:3306 | ||
env_file: | ||
- ./matomo-db.env | ||
|
||
matomo-app: | ||
image: matomo:fpm-alpine | ||
container_name: matomo-app | ||
restart: always | ||
links: | ||
- matomo-db | ||
volumes: | ||
- matomo:/var/www/html:z | ||
environment: | ||
- MATOMO_DATABASE_HOST=matomo-db | ||
- PHP_MEMORY_LIMIT=2048M | ||
env_file: | ||
- ./matomo-db.env | ||
|
||
matomo-web: | ||
image: nginx:alpine | ||
container_name: matomo-web | ||
restart: always | ||
volumes: | ||
- matomo:/var/www/html:z,ro | ||
- ./matomo.conf:/etc/nginx/conf.d/default.conf:z,ro | ||
ports: | ||
- 8085:80 | ||
|
||
volumes: | ||
matomo-data: | ||
matomo: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
MYSQL_ROOT_PASSWORD= | ||
MYSQL_DATABASE=matomo | ||
MYSQL_USER=matomo | ||
MYSQL_PASSWORD= | ||
MATOMO_DATABASE_ADAPTER=mysql | ||
MATOMO_DATABASE_TABLES_PREFIX=matomo_ | ||
MATOMO_DATABASE_USERNAME=matomo | ||
MATOMO_DATABASE_DBNAME=matomo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
upstream php-handler { | ||
server matomo-app:9000; | ||
} | ||
|
||
server { | ||
listen 80; | ||
|
||
add_header Referrer-Policy origin; # make sure outgoing links don't show the URL to the Matomo instance | ||
root /var/www/html; # replace with path to your matomo instance | ||
index index.php; | ||
try_files $uri $uri/ =404; | ||
|
||
## only allow accessing the following php files | ||
location ~ ^/(index|matomo|piwik|js/index|plugins/HeatmapSessionRecording/configs).php { | ||
# regex to split $uri to $fastcgi_script_name and $fastcgi_path | ||
fastcgi_split_path_info ^(.+\.php)(/.+)$; | ||
|
||
# Check that the PHP script exists before passing it | ||
try_files $fastcgi_script_name =404; | ||
|
||
include fastcgi_params; | ||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | ||
fastcgi_param PATH_INFO $fastcgi_path_info; | ||
fastcgi_param HTTP_PROXY ""; # prohibit httpoxy: https://httpoxy.org/ | ||
fastcgi_pass php-handler; | ||
} | ||
|
||
## deny access to all other .php files | ||
location ~* ^.+\.php$ { | ||
deny all; | ||
return 403; | ||
} | ||
|
||
## disable all access to the following directories | ||
location ~ /(config|tmp|core|lang) { | ||
deny all; | ||
return 403; # replace with 404 to not show these directories exist | ||
} | ||
location ~ /\.ht { | ||
deny all; | ||
return 403; | ||
} | ||
|
||
location ~ js/container_.*_preview\.js$ { | ||
expires off; | ||
add_header Cache-Control 'private, no-cache, no-store'; | ||
} | ||
|
||
location ~ \.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$ { | ||
allow all; | ||
## Cache images,CSS,JS and webfonts for an hour | ||
## Increasing the duration may improve the load-time, but may cause old files to show after an Matomo upgrade | ||
expires 1h; | ||
add_header Pragma public; | ||
add_header Cache-Control "public"; | ||
} | ||
|
||
location ~ /(libs|vendor|plugins|misc/user) { | ||
deny all; | ||
return 403; | ||
} | ||
|
||
## properly display textfiles in root directory | ||
location ~/(.*\.md|LEGALNOTICE|LICENSE) { | ||
default_type text/plain; | ||
} | ||
} | ||
|
||
# vim: filetype=nginx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.