Skip to content

Commit

Permalink
Add matomo (akash-network#176)
Browse files Browse the repository at this point in the history
* add matomo

* add matomo to reamde
  • Loading branch information
ctrl-Felix authored Jul 7, 2021
1 parent 3f584b8 commit dbacfc5
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Awesome DeFi apps you can deploy on Akash
- [Quill editor](quill-editor)
- [Periodic Table Creator](Periodic-Table-Creator)
- [dart-hello](dart)
- [Matomo](matomo)

### Wallet
- [MyetherWallet](MyetherWallet)
Expand Down
1 change: 1 addition & 0 deletions matomo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Matomo](https://matomo.org) is an open source user analytics platform for websites and mobile apps. During the installtion process you will be asked for a Mysql database, user, and password. You can change those according to your needs in the deploy.yml.
68 changes: 68 additions & 0 deletions matomo/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
version: "2.0"

services:
db:
image: mysql:8.0.25
env:
- MYSQL_ROOT_PASSWORD=awdnadpwbdnaiosd
- MYSQL_DATABASE=matomo
- MYSQL_USER=matomo
- MYSQL_PASSWORD=mdabn9aodw908adsb9uoawd978asbi

expose:
- port: 3306
to:
- servcie: matomo
matomo:
image: matomo:apache
depends-on:
- db
expose:
- port: 80
as: 80
to:
- global: true


profiles:
compute:
db:
resources:
cpu:
units: 0.5
memory:
size: 256Mi
storage:
size: 512Mi
matomo:
resources:
cpu:
units: 0.5
memory:
size: 256Mi
storage:
size: 512Mi
placement:
westcoast:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
db:
denom: uakt
amount: 1000
matomo:
denom: uakt
amount: 1000
deployment:
db:
westcoast:
profile: db
count: 1
matomo:
westcoast:
profile: matomo
count: 1

0 comments on commit dbacfc5

Please sign in to comment.