diff --git a/README.md b/README.md index 3ff89721..30deac6f 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/matomo/README.md b/matomo/README.md new file mode 100644 index 00000000..24771dbd --- /dev/null +++ b/matomo/README.md @@ -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. diff --git a/matomo/deploy.yml b/matomo/deploy.yml new file mode 100644 index 00000000..b4ceeb4a --- /dev/null +++ b/matomo/deploy.yml @@ -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