fix: remove unnecessary background and restart settings from process-compose.yaml

This commit is contained in:
Prad Nukala
2024-12-08 13:00:38 -05:00
parent 3cb72d89e9
commit cfce4ba460
2 changed files with 15 additions and 9 deletions
-4
View File
@@ -3,16 +3,12 @@ version: "0.6"
processes: processes:
sonr: sonr:
namespace: devnet namespace: devnet
background: true
command: "make sh-testnet" command: "make sh-testnet"
restart: never
max_restarts: 1 max_restarts: 1
hway: hway:
namespace: devnet namespace: devnet
background: true
command: "./build/hway" command: "./build/hway"
restart: never
max_restarts: 1 max_restarts: 1
depends: depends:
- sonr - sonr
+15 -5
View File
@@ -28,7 +28,9 @@
"ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)", "ACC1_MNEMONIC": "$(skate get ACC1_MNEMONIC)",
"TUNNEL_TOKEN": "$(skate get CLOUDFLARE_TUNNEL_TOKEN)", "TUNNEL_TOKEN": "$(skate get CLOUDFLARE_TUNNEL_TOKEN)",
"TURNSTILE_SITE_KEY": "$(skate get TURNSTILE_SITE_KEY)", "TURNSTILE_SITE_KEY": "$(skate get TURNSTILE_SITE_KEY)",
"TEMPL_EXPERIMENT": "rawgo" "TEMPL_EXPERIMENT": "rawgo",
"PC_NO_SERVER": "true",
"PC_LOG_FILE": "./sonr.log"
}, },
"shell": { "shell": {
"scripts": { "scripts": {
@@ -37,11 +39,19 @@
"gum spin --title='Building Motr WASM' -- make motr-build", "gum spin --title='Building Motr WASM' -- make motr-build",
"gum spin --title='Uploading to Bucket' -- make deploy-cdn" "gum spin --title='Uploading to Bucket' -- make deploy-cdn"
], ],
"devnet": [ "devnet:start": [
"process-compose up -f deploy/devnet/process-compose.yaml --no-server --detached --log-file ./sonr.log --hide-disabled" "process-compose up -f deploy/devnet/process-compose.yaml --detached --hide-disabled"
], ],
"testnet": [ "devnet:attach": ["cd deploy/devnet", "process-compose attach"],
"process-compose run -f deploy/testnet/process-compose.yaml --no-server --detached --log-file ./sonr.log --hide-disabled" "devnet:stop": ["cd deploy/devnet", "process-compose down "],
"testnet:start": [
"process-compose up -f deploy/testnet/process-compose.yaml --detached --hide-disabled"
],
"testnet:stop": [
"process-compose down -f deploy/testnet/process-compose.yaml --remove-orphans"
],
"testnet:restart": [
"process-compose restart -f deploy/testnet/process-compose.yaml --remove-orphans"
] ]
} }
} }