Skip to content

Instantly share code, notes, and snippets.

@chainzero
Last active April 12, 2024 11:48
Show Gist options
  • Save chainzero/0dea9f2e1c4241d2e4d490b37153ec86 to your computer and use it in GitHub Desktop.
Save chainzero/0dea9f2e1c4241d2e4d490b37153ec86 to your computer and use it in GitHub Desktop.
Shared Memory (SSH) Example SDL
---
version: "2.0"
services:
grafana:
image: grafana/grafana
expose:
- port: 3000
as: 80
to:
- global: true
accept:
- webdistest.localhost
params:
storage:
data:
mount: /var/lib/grafana
shm:
mount: /dev/shm
profiles:
compute:
grafana:
resources:
cpu:
units: 1
memory:
size: 1Gi
storage:
- size: 512Mi
- name: data
size: 1Gi
attributes:
persistent: true
class: beta2
- name: shm
size: 1Gi
attributes:
persistent: false
class: ram
placement:
westcoast:
attributes:
region: us-west
pricing:
grafana:
denom: uakt
amount: 1000
deployment:
grafana:
westcoast:
profile: grafana
count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment