-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add Docker Compose example #109
Add Docker Compose example #109
Conversation
9f1f7d1
to
36e89cf
Compare
56883f3
to
ad8f545
Compare
b2e40d6
to
09f493f
Compare
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.
Looks good to me, will do some testing.
Only concern is the hard coding of variables (like GOOSEBIT_SECRET), but my understanding is we want people to change this anyway so that's fine.
Trying to upload software is failing for me, with the following error -
|
This is just an example and of course, should not be used as-is. With Docker Compose, secrets can be put in a |
It's a permissions issue. We should fix that in the image. Will do that together with the other pending fixes. |
5565d63
to
1f2c196
Compare
@b-rowan how about a v0.2.4? The latest image on Docker Hub is still broken, which is a problem if someone wants to try it out… |
On it 🫡 |
I think this is working now? I was able to get the build up and running using the example on my desktop, although I havent tested uploading yet. EDIT: Even uploading works. |
This demonstrates how to deploy the service in production using the Docker image together with NGINX and PostgreSQL. Run with: docker compose -f docker/demo/docker-compose.yml up The service can then be accessed under: https://localhost
1f2c196
to
14cb5a7
Compare
Yes, seems fine now. Moved the files to |
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.
LGTM 🚀
I get "Software swu header cannot be parsed" error message when using the docker compose and upload an SWU file. |
What format are you using for versioning? That's likely where that's failing, right now goosebit expects a semantic version. |
It could also be a permissions problem (of
|
my swu package is : my-image-qtdemo-update-stm32mp157f-dk2_0.6.1.swu are there specific format it should be followed ? the volumes are clean, I just pulled today. |
Unfortunately, logging needs some fixing. Could you try again with
and post the log output? |
Not a versioning in the naming, but the version in the software-description |
Ah, didn't see this information in the docs. I use by the way encrypted sw-description : IMHO Goosebit should not have this restriction :-( |
Keep in mind that gooseBit is still under heavy development and not feature complete/bug free. If you have ideas/suggestions on how to improve it, feel free to create an issue, or even better a PR. |
This demonstrates how to deploy the service in production using the
Docker image together with NGINX and PostgreSQL.
Run with:
The service can then be accessed under: https://localhost
Closes #31