-
Notifications
You must be signed in to change notification settings - Fork 2
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
Build issues on Linux #16
Comments
For the record:
|
Ah, |
Also mentioned on the main README.md, but happy to update the docs if it isn’t clear: https://github.com/rovats/waltz-docker#step-1-setup-maven-profiles |
Thanks @rovats, that seems to have fixed it. Yes, it was my inability to follow instructions. I don't know much about docker but this seems very complicated. Is there anything we can do on the core Waltz side to simplify - or is this stuff fairly obvious once you understand Docker ? |
I think once you understand how Docker networking works, this shouldn't be too much of an issue. There are various ways to access the host machine from a container: setting up your own network, assigning a static IP address to your host machine (in the custom network), or a static IP to your container in the custom network (this is useful since container IP addresses are dynamic - assigned in incremental order at container startup). Also, there is a special dns name A few more options listed here: Happy to include some more information in the docs to make this clear - Done, let me know if the docs can be improved further. |
@davidwatkins73 , I have improved the documentation as part of this issue. Are you happy for this to be closed? |
Hi, yes, happy for this to be closed. Thanks! |
I initially tried under Windows 10 but couldn't decide if errors where my fault or actual underlying issues. I''ve therefore switched to first trying the tutorial under Linux. However I cannot get the build to connect to the postgres instance.
I've installed postgres as per the instructions, and populated it using the
LoadAll
app inwaltz-jobs
. I can connect to this db on my dev machines Waltz instance (I remapped the port 5432 to 5632 via IntelliJ as the -p 5432:5432 param seemed to have not effect)This works fine when running Waltz's
Main
and the Waltz's maven build with the appropriate settings, namely:Docker
When running the command:
docker build --tag waltz-build:1.26a1 --build-arg maven_profiles=waltz-postgres,local-postgres -f build/build.Dockerfile .
it fails with:
I've tried updating the settings xml with both ports (5432 & 5632) and they both give the same error.
Will continue trying things but thought I'd see if you could spot any obvious errors
The text was updated successfully, but these errors were encountered: