fix deployment

This commit is contained in:
Pavel Murygin 2021-09-10 02:25:20 +03:00
parent 3c36e3a95b
commit 989503f763
5 changed files with 7 additions and 19 deletions

View File

@ -2,11 +2,11 @@
"services": {
"history": {
"dependencies": ["history_inmemory"],
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
"node": "12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8BVUJEqCHcDe7P5h45e"
},
"user_list": {
"dependencies": ["user_list_inmemory"],
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
"node": "12D3KooWSD5PToNiLQwKDXsu8JSysCwUt8BVUJEqCHcDe7P5h45e"
}
},
"modules": {
@ -28,8 +28,7 @@
"variables": {
"function": "is_authenticated",
"json_path": "$.is_authenticated"
},
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
}
}
},
"script_storage": {}

View File

@ -16,8 +16,4 @@ export const fluentPadApp = {
history: history,
};
// export const relayNode = krasnodar[0];
export const relayNode = {
multiaddr: '/ip4/127.0.0.1/tcp/4310/ws/p2p/12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
peerId: '12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3',
};
export const relayNode = krasnodar[0];

3
deploy.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
fldist deploy_app --env krasnodar -s Fs6nQaGEsM5EgnprUbUtoLYWhUC8o6QK1gseP9pfhzUm -i app/app.config.json -o client/src/app.json

View File

@ -1,5 +0,0 @@
#!/bin/sh
docker kill fluence_node
docker run -d --rm --name fluence_node -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj
fldist deploy_app --env local -s Fs6nQaGEsM5EgnprUbUtoLYWhUC8o6QK1gseP9pfhzUm -i app/app.config.json -o client/src/app.json

View File

@ -1,5 +0,0 @@
#!/bin/sh
docker kill fluence_node
docker run -d --rm --name fluence_node -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj
fldist deploy_app --env local -s Fs6nQaGEsM5EgnprUbUtoLYWhUC8o6QK1gseP9pfhzUm -i app/app.config.json -o client/src/app.json