Skip to content
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

Use custom Lotus image, HotStore renaming, and misc #232

Merged
merged 7 commits into from
Apr 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deals/deals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const (

func TestMain(m *testing.M) {
if _, err := os.Stat(tmpDir); os.IsNotExist(err) {
os.Mkdir(tmpDir, os.ModeDir)
os.Mkdir(tmpDir, os.ModePerm)
}
logging.SetAllLoggers(logging.LevelError)
os.Exit(m.Run())
Expand Down
6 changes: 3 additions & 3 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
- ipfs
- lotus
environment:
- TEXPOWERGATE_LOTUSHOST=/dns4/lotus/tcp/1234
- TEXPOWERGATE_LOTUSHOST=/dns4/lotus/tcp/1235
- TEXPOWERGATE_IPFSAPIADDR=/dns4/ipfs/tcp/5001
- TEXPOWERGATE_LOTUSTOKENFILE=/root/lotus/.lotus/token
- TEXPOWERGATE_REPOPATH=/root/powergate/.powergate
Expand All @@ -31,11 +31,11 @@ services:
- textile-fc-lotus:/root/lotus

lotus:
image: textile/lotus:latest
image: textile/lotus:custom
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tag now is custom since I'll have to wait our merged-PR makes its way to interopnet branch. This happens regularly when interopnet catchup changes of testnet/3.
When that happens, I can use an automatic image that gets generated by us in this repo.

That custom tag is basically a image generated by me under that automatic-build setup with the necessary changes. So will eventually target the one generated automatically.

volumes:
- textile-fc-lotus:/data
ports:
- 1234:1234
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See textileio/lotus-build repo Readme, but it's basically using a reverse proxy to connect to Lotus since the API is hardcoded to listen on localhost, so can't be accessed from outside.

- 1235:1235
- 5678:5678
restart: unless-stopped

Expand Down
Loading