Skip to content

Instantly share code, notes, and snippets.

@ericet
Last active March 15, 2022 16:40
Show Gist options
  • Save ericet/76286ea539821a3c9da667aeb41e5948 to your computer and use it in GitHub Desktop.
Save ericet/76286ea539821a3c9da667aeb41e5948 to your computer and use it in GitHub Desktop.
---
version: "2.0"
services:
mysql:
image: mysql
params:
storage:
data:
mount: /var/lib/mysql
expose:
- port: 3306
to:
- global: true
- port: 8080
as: 80
to:
- global: true
profiles:
compute:
mysql:
resources:
cpu:
units: 0.2
memory:
size: 256Mi
storage:
- size: 1Gi
- name: data
size: 1Gi
attributes:
persistent: true
class: beta2
placement:
akash:
attributes:
host: akash
pricing:
mysql:
denom: uakt
amount: 1000.1
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