This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #840 from holochain/container-admin-functions
Container Admin Functions (DNA/instance management)
- Loading branch information
Showing
17 changed files
with
1,145 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,80 @@ | ||
bridges = [] | ||
|
||
[[agents]] | ||
id = "test agent 1" | ||
key_file = "holo_tester.key" | ||
name = "Holo Tester 1" | ||
public_address = "HoloTester1-----------------------------------------------------------------------AAACZp4xHB" | ||
key_file = "holo_tester.key" | ||
|
||
[[agents]] | ||
id = "test agent 2" | ||
key_file = "holo_tester.key" | ||
name = "Holo Tester 2" | ||
public_address = "HoloTester2-----------------------------------------------------------------------AAAGy4WW9e" | ||
key_file = "holo_tester.key" | ||
|
||
[[dnas]] | ||
id = "app spec rust" | ||
file = "example-config/app_spec.hcpkg" | ||
hash = "Qm328wyq38924y" | ||
id = "app spec rust" | ||
|
||
[[instances]] | ||
id = "app spec instance 1" | ||
dna = "app spec rust" | ||
agent = "test agent 1" | ||
dna = "app spec rust" | ||
id = "app spec instance 1" | ||
|
||
[instances.storage] | ||
type = "file" | ||
path = "example-config/tmp-storage" | ||
type = "file" | ||
|
||
[[instances]] | ||
id = "app spec instance 2" | ||
dna = "app spec rust" | ||
agent = "test agent 2" | ||
dna = "app spec rust" | ||
id = "app spec instance 2" | ||
|
||
[instances.storage] | ||
type = "file" | ||
path = "example-config/tmp-storage" | ||
|
||
type = "file" | ||
|
||
[[interfaces]] | ||
admin = true | ||
id = "websocket interface" | ||
|
||
[[interfaces.instances]] | ||
id = "app spec instance 1" | ||
|
||
[[interfaces.instances]] | ||
id = "app spec instance 2" | ||
|
||
[interfaces.driver] | ||
type = "websocket" | ||
port = 3000 | ||
type = "websocket" | ||
|
||
[[interfaces]] | ||
admin = true | ||
id = "http interface" | ||
|
||
[[interfaces.instances]] | ||
id = "app spec instance 1" | ||
|
||
[[interfaces.instances]] | ||
id = "app spec instance 2" | ||
|
||
[interfaces.driver] | ||
port = 4000 | ||
type = "http" | ||
|
||
[logger] | ||
type = "debug" | ||
[[logger.rules.rules]] | ||
color = "red" | ||
exclude = false | ||
pattern = "^err/" | ||
|
||
[[logger.rules.rules]] | ||
color = "white" | ||
exclude = false | ||
pattern = "^debug/dna" | ||
|
||
[[logger.rules.rules]] | ||
exclude = false | ||
pattern = ".*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[[agents]] | ||
id = "test agent 1" | ||
name = "Holo Tester 1" | ||
public_address = "HoloTester1-----------------------------------------------------------------------AAACZp4xHB" | ||
key_file = "holo_tester.key" | ||
|
||
dnas = [] | ||
|
||
instances = [] | ||
|
||
[[interfaces]] | ||
admin = true | ||
id = "http interface" | ||
instances = [] | ||
[interfaces.driver] | ||
type = "http" | ||
port = 4000 | ||
|
||
[[interfaces]] | ||
admin = true | ||
id = "websocket interface" | ||
instances = [] | ||
[interfaces.driver] | ||
type = "websocket" | ||
port = 3000 | ||
|
||
[logger] | ||
type = "debug" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.