Skip to content

Commit

Permalink
[devops] update docker-compose (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangzhiran authored May 29, 2024
1 parent 9cc8496 commit c2b0ba6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/coordinator/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ var (
ChainEndpoint: "https://babel-api.testnet.iotex.io",
DatabaseDSN: "postgres://test_user:test_passwd@localhost:15432/test?sslmode=disable",
DefaultDatasourceURI: "postgres://test_user:test_passwd@localhost:15432/test?sslmode=disable",
BootNodeMultiAddr: "/ip4/bootnode/tcp/18000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML",
BootNodeMultiAddr: "/dns4/bootnode/tcp/18000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML",
IoTeXChainID: 2,
ProjectContractAddress: "", //"0x02feBE78F3A740b3e9a1CaFAA1b23a2ac0793D26",
IPFSEndpoint: "ipfs.mainnet.iotex.io",
Expand Down
2 changes: 1 addition & 1 deletion cmd/prover/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var (
ChainEndpoint: "https://babel-api.testnet.iotex.io",
ProjectContractAddress: "",
DatabaseDSN: "postgres://test_user:test_passwd@localhost:15432/test?sslmode=disable",
BootNodeMultiAddr: "/ip4/bootnode/tcp/18000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML",
BootNodeMultiAddr: "/dns4/bootnode/tcp/18000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML",
ProverContractAddress: "",
ProverOperatorPrivateKey: "a5f4e99aa80342d5451e8f8fd0dc357ccddb70d3827428fb1fc366f70833497f",
IoTeXChainID: 2,
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- "8000:8000"

sequencer:
image: ghcr.io/machinefi/sequencer:v0.10.1
image: ghcr.io/machinefi/sequencer:v0.11.1
depends_on:
- "postgres"
- "coordinator"
Expand All @@ -22,7 +22,7 @@ services:
command: [ "-coordinatorAddress", "coordinator:9001", "-databaseDSN", "postgres://test_user:test_passwd@postgres:5432/test?sslmode=disable" ]

coordinator:
image: ghcr.io/machinefi/coordinator:v0.10.1
image: ghcr.io/machinefi/coordinator:v0.11.1
depends_on:
- "postgres"
- "bootnode"
Expand All @@ -34,14 +34,14 @@ services:
environment:
COORDINATOR_ENV: PROD
PROJECT_FILE_DIRECTORY: "/data"
BOOTNODE_MULTIADDR: "/ip4/bootnode/tcp/8000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML"
BOOTNODE_MULTIADDR: "/dns4/bootnode/tcp/8000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML"
OPERATOR_PRIVATE_KEY: ${PRIVATE_KEY:-}
OPERATOR_PRIVATE_KEY_ED25519: ${PRIVATE_KEY_ED25519:-}
volumes:
- ./test/project:/data

prover:
image: ghcr.io/machinefi/prover:v0.10.1
image: ghcr.io/machinefi/prover:v0.11.1
depends_on:
- "risc0"
- "halo2"
Expand All @@ -55,7 +55,7 @@ services:
environment:
PROVER_ENV: PROD
PROJECT_FILE_DIRECTORY: "/data"
BOOTNODE_MULTIADDR: "/ip4/bootnode/tcp/8000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML"
BOOTNODE_MULTIADDR: "/dns4/bootnode/tcp/8000/p2p/12D3KooWJkfxZL1dx74yM1afWof6ka4uW5jMsoGasCSBwGyCUJML"
volumes:
- ./test/project:/data

Expand Down

0 comments on commit c2b0ba6

Please sign in to comment.