mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
feature/deploy linux (#1206)
* chore(deploy): remove devbox configuration * feat(taskfiles): add mount and platform specific start commands for IPFS
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
|
||||
"packages": [
|
||||
"tigerbeetle@latest",
|
||||
"ipfs@latest"
|
||||
],
|
||||
"shell": {
|
||||
"scripts": {
|
||||
"init": [],
|
||||
"start": [
|
||||
"devbox services up"
|
||||
],
|
||||
"stop": [
|
||||
"devbox services down"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,30 +1,23 @@
|
||||
version: "0.5"
|
||||
|
||||
environment:
|
||||
- "PC_DISABLE_TUI=true"
|
||||
log_location: "./tmp/logs"
|
||||
log_level: "debug"
|
||||
|
||||
processes:
|
||||
IPFS:
|
||||
namespace: testnet
|
||||
command: "task ipfs:start"
|
||||
availability:
|
||||
restart: "always"
|
||||
command: "ipfs daemon --mount"
|
||||
ready_log_line: "Daemon is ready"
|
||||
|
||||
Sonr:
|
||||
namespace: testnet
|
||||
command: "task sonrd:start"
|
||||
depends_on:
|
||||
ipfs:
|
||||
condition: process_completed
|
||||
environment:
|
||||
- "SONR_NETWORK=testnet"
|
||||
IPFS:
|
||||
condition: process_log_ready
|
||||
|
||||
Hway:
|
||||
namespace: testnet
|
||||
command: "hway"
|
||||
depends_on:
|
||||
sonr:
|
||||
condition: process_completed_successfully
|
||||
|
||||
IPFS:
|
||||
condition: process_log_ready
|
||||
Sonr:
|
||||
condition: process_started
|
||||
|
||||
Reference in New Issue
Block a user