-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(docker): add firefly-core #8
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
|
||
packages = with pkgs; [ | ||
alejandra | ||
lld | ||
]; | ||
|
||
commands = [ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
admin: | ||
address: 0.0.0.0 | ||
enabled: true | ||
port: 5101 | ||
publicURL: http://127.0.0.1:5101 | ||
debug: | ||
port: 6060 | ||
event: | ||
dbevents: | ||
bufferSize: 10000 | ||
http: | ||
address: 0.0.0.0 | ||
port: 5000 | ||
publicURL: http://127.0.0.1:5000 | ||
log: | ||
level: debug | ||
metrics: {} | ||
namespaces: | ||
default: default | ||
predefined: | ||
- defaultKey: addr_test1vqhkukz0285zvk0xrwk9jlq0075tx6furuzcjvzpnhtgelsuhhqc4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a way to inject this value from the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably. I was going through firefly helm chart and did not see any firefly config file, so probably it is configured via env variables. Is this a requirement or can we leave it is for time being? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's see if it causes issues in practice before spending too much time on it |
||
description: Default predefined namespace | ||
name: default | ||
plugins: | ||
- database0 | ||
- blockchain0 | ||
plugins: | ||
blockchain: | ||
- cardano: | ||
cardanoconnect: | ||
topic: "0" | ||
url: http://firefly-cardanoconnect:5018 | ||
name: blockchain0 | ||
type: cardano | ||
database: | ||
- name: database0 | ||
postgres: | ||
migrations: | ||
auto: true | ||
url: postgres://postgres:f1refly@postgres:5432?sslmode=disable | ||
type: postgres | ||
spi: | ||
address: 0.0.0.0 | ||
enabled: true | ||
port: 5101 | ||
publicURL: http://127.0.0.1:5101 | ||
ui: | ||
path: ./frontend |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
deploy-contract: | ||
cargo run -p firefly-cardano-deploy-contract -- --contract-path ./wasm/simple-tx | ||
cargo run -p firefly-cardano-deploy-contract -- --contract-path ./wasm/simple-tx --firefly-url http://localhost:5000 | ||
demo: deploy-contract | ||
cargo run -p firefly-cardano-demo -- --addr-from $ADDR_FROM --addr-to $ADDR_TO --amount 1000000 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we okay with this? this was the easiest way to get image working in this repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gytis-ivaskevicius will I be able to push updates to that image if necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes