File tree 3 files changed +55
-8
lines changed
3 files changed +55
-8
lines changed Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ user_setup_tx_max_count = 100000
28
28
29
29
# first node is leader
30
30
[[compute_nodes ]]
31
- address = " http://localhost :12300"
31
+ address = " http://network-a-compute-node-1 :12300"
32
32
33
33
[[storage_nodes ]]
34
- address = " http://localhost :12330"
34
+ address = " http://network-a-storage-node-1 :12330"
35
35
36
36
[[miner_nodes ]]
37
- address = " http://localhost :12340"
37
+ address = " http://network-a-miner-node-1 :12340"
38
38
39
39
[[user_nodes ]]
40
- address = " http://localhost :12360"
40
+ address = " http://network-a-user-node-1 :12360"
Original file line number Diff line number Diff line change 1
- name : build-deploy
1
+ name : build-scan
2
2
on :
3
3
push :
4
4
branches :
5
5
- main
6
- - enable_domain_resolution
6
+ - develop
7
7
8
8
permissions :
9
9
contents : read
@@ -12,12 +12,12 @@ permissions:
12
12
13
13
jobs :
14
14
build :
15
- uses : ablockofficial/platform /.github/workflows/build.yml@main
15
+ uses : ablockofficial/workflows /.github/workflows/build.yml@main
16
16
with :
17
17
REGISTRY : ${{ vars.REGISTRY }}
18
18
REPOSITORY : ${{ vars.REPOSITORY }}
19
19
scan-image :
20
- uses : ablockofficial/platform /.github/workflows/scan-image.yml@main
20
+ uses : ablockofficial/workflows /.github/workflows/scan-image.yml@main
21
21
secrets : inherit
22
22
needs : build
23
23
with :
Original file line number Diff line number Diff line change
1
+ version : ' 3'
2
+ services :
3
+
4
+ a-compute-node : &node-default
5
+ image : network
6
+ environment :
7
+ RUST_LOG : info,debug
8
+ init : true
9
+ ports :
10
+ - ' 12300:12300'
11
+ - ' 3003:3003'
12
+ volumes :
13
+ - /tmp/compute:/src
14
+ command : compute
15
+
16
+ a-storage-node :
17
+ << : *node-default
18
+ ports :
19
+ - ' 12330:12330'
20
+ - ' 3001:3001'
21
+ volumes :
22
+ - /tmp/storage:/src
23
+ command : storage
24
+
25
+ a-miner-node :
26
+ << : *node-default
27
+ depends_on :
28
+ - a-compute-node
29
+ - a-storage-node
30
+ ports :
31
+ - ' 12340:12340'
32
+ - ' 3004:3004'
33
+ volumes :
34
+ - /tmp/miner:/src
35
+ command : miner
36
+
37
+ # a-alice-node:
38
+ # <<: *node-default
39
+ # ports:
40
+ # - '12360:12360'
41
+ # command: node user
42
+
43
+ # a-bob-node:
44
+ # <<: *node-default
45
+ # ports:
46
+ # - '12361:12361'
47
+ # command: node user
You can’t perform that action at this time.
0 commit comments