Skip to content

Commit 5e5bba1

Browse files
author
mike dupont
committed
working locally
conditions: 1. the volume has to be new 2. the mount has to be correct 3. docker populates the new volume with the existing data.
1 parent 846cfe7 commit 5e5bba1

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

docker-compose.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
- /var/run/tappd.sock:/var/run/tappd.sock
1010
- tee:/app/packages/client-twitter/src/tweetcache
1111
# docker will copy existing files into the new volumn
12-
- akash-data:/app/packages/packages/plugin-akash/src/
12+
- akash-plugin-data:/app/packages/plugin-akash/src/
1313
- tee:/app/db.sqlite
1414
environment:
1515
# FIXME: passing secrets via env is not best practice, use secrets
@@ -62,4 +62,4 @@ services:
6262
restart: always
6363
volumes:
6464
tee:
65-
akash-data:
65+
akash-plugin-data:

eliza.sdl.yml

+12-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ services:
1616
curl
1717
https://raw.githubusercontent.com/meta-introspector/cloud-deployment-eliza/refs/heads/feature/akash_docker/akash_boot.sh
1818
| bash
19+
params:
20+
storage:
21+
akash-data:
22+
mount: /app/packages/plugin-akash/src/
23+
readOnly: false
1924
env:
2025
- AKASH_ENV=mainnet
2126
- AKASH_NET=https://raw.githubusercontent.com/ovrclk/net/master/mainnet
@@ -39,7 +44,7 @@ services:
3944
- AKASH_GAS_DSEQ=19729929
4045
- AKASH_MANIFEST_MODE=auto
4146
- AKASH_MANIFEST_VALIDATION_LEVEL=strict
42-
# - AKASH_MANIFEST_PATH=
47+
- AKASH_MANIFEST_PATH=
4348

4449
profiles:
4550
compute:
@@ -51,6 +56,12 @@ profiles:
5156
size: 2048Mi
5257
storage:
5358
- size: 30Gi
59+
- name: akash-data
60+
size: 100Gi
61+
attributes:
62+
persistent: true
63+
class: beta2
64+
5465
placement:
5566
dcloud:
5667
pricing:

0 commit comments

Comments
 (0)