-
-
Notifications
You must be signed in to change notification settings - Fork 135
Enhance local dev env #900
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
+52,277
−198
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
a3428d1
add hot reloading worker:dev script
huumn 0614cfe
refine docker config
huumn 51dba02
sndev bash script and docker reliability stuff
huumn fab7503
make posix shell
huumn f2fd2eb
restart: always -> unless-stopped
huumn b3bf3db
proper check for postgres health
huumn af28900
add db seed to sndev
huumn 265f92a
Merge branch 'master' into localdev
huumn 1b27551
refinements after fresh builds
huumn 85c1303
begin adding regtest network
huumn 7fe959a
add changes to .env.sample
huumn 215f330
reorganize docker and add static certs/macroon to lnd
huumn 0e02aa7
copy wallet and macaroon dbs for deterministic wallets/macaroons
huumn eb7670e
fix perms of shared directories
huumn bc85e4b
allow debian useradd with duplicate id
huumn c327825
add auto-mining
huumn c63622b
make bitcoin health check dependent on blockheight
huumn c88ba74
open channel between ln nodes
huumn e824261
improve channel opens
huumn 714aecc
add sndev payinvoice
huumn 0500cbd
add sndev withdraw
huumn 4ce413a
ascii art
huumn 8cddbe7
add sndev status
huumn a31d04a
sndev passthrough to docker and containers
huumn 5572791
add sndev psql command
huumn 4b2596f
remove script logging
huumn 09a30a4
small script cleanup
huumn fa3aed2
smaller db seed
huumn fc5a4c5
pin opensearch version
huumn b374758
pin opensearch dashboard
huumn 1e9d40f
add sndev prisma
huumn 32bc3f1
add help for all commands
huumn bb41692
set -e
huumn 72ecc7b
s3 and image proxy with broken name resolution
huumn 8a96fbb
finally fully working image uploads
huumn 46effa6
use a better diff algo
huumn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I spent the better part of 10 hours trying to avoid this 😮💨 and all the related changes.
Things that didn't work:
imgproxy.localhostands3.localhostand docker composelinksbut after I got that all figured out, I learned macos doesn't support localhost subdomainsimgproxy:3001->localhost:3001... I'm not sure what else I could have tried. We more or less need the host, app, worker, s3, and imgproxy to all share some kind of name resolution service. This is easy enough to configure in containers, but we can't reliably alter (nor should we) the host's dns.