Skip to content

Instantly share code, notes, and snippets.

@waitrouz
Created March 10, 2022 03:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save waitrouz/04332bbbd5ebbedb57cf9b5de037e93b to your computer and use it in GitHub Desktop.
Save waitrouz/04332bbbd5ebbedb57cf9b5de037e93b to your computer and use it in GitHub Desktop.
MySQL - SDL for Akash
---
version: "2.0"
services:
mysql:
image: mysql
expose:
- port: 3306
to:
- global: true
- port: 8080
as: 80
to:
- global: true
profiles:
compute:
mysql:
resources:
cpu:
units: 1.0
memory:
size: 512Mi
storage:
size: 512Mi
placement:
akash:
attributes:
host: akash
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
pricing:
mysql:
denom: uakt
amount: 100
deployment:
mysql:
akash:
profile: mysql
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment