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

Docker image #15

Open
NoxInmortus opened this issue Aug 25, 2020 · 7 comments
Open

Docker image #15

NoxInmortus opened this issue Aug 25, 2020 · 7 comments

Comments

@NoxInmortus
Copy link

NoxInmortus commented Aug 25, 2020

Hello,

First of all allow me to thanks you for the work you previously done, and are doing on this project.
I was looking for a web-based way to manage self-signed certificates, and I may have finally found your gem.

I'm also very lazy and I like to keep things very clean, so when I read your various README pages and the official documentation, I could not only conclude that there is a lot of out-to-date details (I may have saw at least 3 or 4 pythons versions for example), but not only the docker image/compose available seems also out-to-date and not very proper.

I took on my own to build an image containing BounCA and Nginx, based on trial and errors and available information here :

This is not a finished product yet, I only validated the build, but with a associated PSQL image it should work soon enough.
Will add some Nginx tuning and multiarch auto-build when I have some more time for it.

But before that, if my work seems interesting enough, you may check it out and offer me some kind of review, if you see anything missing, or some better way to do some stuff.

https://github.com/NoxInmortus/docker-bounca

@bjarnoldus
Copy link
Contributor

Hi Noxinmortus,

Thank you for picking this up. I'm rewriting now bounca to not use shell scripts to generate certificates, and to refresh it to more 2020 level of coding, and adding (unit) tests. I'll check your work when I'm again in the deploy/packaging phase.

It can take a while, as I cannot work fulltime on this project.

Jeroen

@bjarnoldus
Copy link
Contributor

Thank you for your effort, do you think it is possible to make them for the newest release of bounca?

@NoxInmortus
Copy link
Author

Hello @bjarnoldus,

Glad to see the project is still alive !

I have a lot of stuff coming by lately, but if you don't mind waiting a bit, I could work on it in a few weeks.

Happy holidays :)

@NoxInmortus
Copy link
Author

NoxInmortus commented Feb 17, 2022

Hello @bjarnoldus, here we are after a few weeks.

I updated my repository with my latest work: https://github.com/NoxInmortus/docker-bounca

I spent some time to debug some stuff, about uwsgi which i was not familiar about, I also found that the provided nginx vhost configuration is no more correct, had to:

sed -i 's#root /srv/www/bounca/front/dist#root /srv/www/bounca/front/public#g' /etc/nginx/conf.d/bounca.conf

There is not much hardening done with the current setup, there is still room for improvements.

The image seems to be working, you can build it yourself (I have some troubles with my CI and did not pushed to dockerhub yet).

You just need to manualy create your admin login (may add some lines to manage that later), then I was able to reach the /admin page and login without troubles.
But, the root /index.html is a blank page, but i did not succeed to troubleshoot it, and i'm not sure at all it's on me.

@NoxInmortus
Copy link
Author

Hello @bjarnoldus, hope you're doing well.

Following the call to Give Up GitHub: The Time Has Come!, I've decided to remove progressively my Github repositories, which were originaly a mirror from my Gitlab instance.

In consequence, my docker image for BounCA is now only available from : https://git.tools01.noxinmortus.fr/sysadmins/docker/docker-bounca

My Gitlab is not yet open to new users, but i'm thinking about enabling Gitlab/Github OAuth registration methods in the near future.

See ya

@nvollmar
Copy link

nvollmar commented Nov 21, 2023

Hello @bjarnoldus @NoxInmortus

I was looking to try out BounCA and possibly deploy it in my k8s cluster.
Since there are no recent docker images available I took the liberty to build upon your docker build to set up a multiplatform build of the latest version. Since you left Github I set up a new repo with my changes here: https://github.com/nvollmar/docker-bounca. Docker images I pushed to https://hub.docker.com/r/aluveitie/bounca

@NoxInmortus
Copy link
Author

@nvollmar great ! Thanks for your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants