Re: ofbiz account on hub.docker.com was: OFBiz Community Days - November 2020

Posted by Daniel Watford on
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Community-Days-November-2020-tp4761855p4762247.html

Hi Sandeep and the folks at Hot Wax,

A while back you gave a video presentation regarding Ofbiz in production
and spoke about building docker images. I found your repo here -
https://github.com/sandeepkose/OFBiz-Docker

Have there been any further thoughts for creating docker images for ofbiz?
Any particular problems/requirements for production usage that Hot Wax have
found?

Thanks,

Dan.


On Mon, 30 Nov 2020 at 07:55, Daniel Watford <[hidden email]> wrote:

> Hi Hans,
>
> It would be great to get images pushed to docker hub.
>
> I imagine in the first instance we can get regular trunk builds pushed,
> using Derby with demo data loaded. This would make local testing a bit
> easier for interested parties.
>
> Next I would like to see specialised docker images with various database
> drivers already loaded (assuming there are no license issues with
> distribution) along with docker-compose configurations to couple an ofbiz
> instance with a DBMS.
>
> The docker-compose configurations might include a method of bind mounting
> in configuration files and template directories so that users will have an
> upgrade path without losing any local configuration and customisations
> (e.g. invoice templates). We would need to consider backup and restore
> mechanisms too. I would also suggest using a reverse-proxy, such as
> Traefik, to handle HTTPS and certificate renewal with Lets Encrypt. I'm not
> sure where we would store these configurations, though. Perhaps in a tools
> sub-folder on the ofbiz-framework repo?
>
> Eugen mentioned Kubernetes. I haven't worked with Kubernetes but
> understand that it can handle the networking aspects such as HTTPS and
> reverse-proxy for us out of the box, so might be worth considering over
> docker-compose. I imagine tool choice will depend on the community's
> experience. If Kubernetes is considered a progression from compose, perhaps
> we could start with docker-compose and move on from there in the future.
>
> I would expect creating and publishing of images to be driven by the same
> process as regular releases. I assume this is driven by
> ofbiz's continuous integration infrastructure so I'd need a better
> understanding of how that all works to be able to better contribute.
>
> I'm not a PMC member, so probably better not to hand the docker hub
> credentials to me at the moment. I'd expect the CI infrastructure to be
> able to store secrets for use by the docker image publication process, so
> perhaps better to store credentials there for now.
>
> Thanks,
>
> Dan.
>
> On Mon, 30 Nov 2020 at 00:58, Hans Bakker <[hidden email]>
> wrote:
>
>> Hi Daniel,
>>
>> I started a similar activity about 3 years ago and created and used the
>> ofbiz account on hub.docker.com.
>>
>> if you are ready to start an official ofbiz image there, i can hand over
>> the account to you or anybody within the PMC,
>>
>> regards,
>>
>> Hans Bakker
>> antwebsystems.com
>>
>> On 11/30/20 5:23 AM, Daniel Watford wrote:
>> > Hi Eugen,
>> >
>> > I'm very interested in running Ofbiz in Docker and have a few
>> experiments
>> > underway.
>> >
>> > Please see a recent message on the dev mailing list with a branch to
>> > builder docker images -
>> >
>> https://lists.apache.org/thread.html/r40fd679818a37e113b469add51755b1097a2b02d3961e71a2cfe928d%40%3Cdev.ofbiz.apache.org%3E
>> >
>> > The approach in the branch referred to in above mailing list thread is
>> to
>> > build the currently checked out workspace. This has been particularly
>> > useful for me when testing.
>> >
>> > Also check out https://issues.apache.org/jira/browse/OFBIZ-10407 where
>> > approaches making use of a Dockerfile where ofbiz sources are retrieved
>> > from the repo as part of the docker build process.
>> >
>> > I prefer the approach of building the currently checked out environment
>> -
>> > but I'm biased :)
>> >
>> > Also see this docker-compose configuration which builds a docker image
>> to
>> > operate alongside a Postgres database. -
>> > https://github.com/danwatford/docker-postgres-ofbiz
>> >
>> > To move this forward I think we need the ofbiz committers to signal a
>> > preferred direction and then we can collectively focus on that and get
>> > closer to publishing some official images.
>> >
>> > Cheers,
>> >
>> > Dan.
>> >
>> > On Sun, 29 Nov 2020 at 22:09, Eugen Stan <[hidden email]>
>> wrote:
>> >
>> >> Hi,
>> >>
>> >> I would like to joint he OFBiz Community days and focus on two things:
>> >>
>> >> - How to deploy OFBiz with Docker / Kubernetes - build a Helm chart if
>> >> there is none available
>> >> - Setup OFBiz in Romanian language - and document the steps on my
>> website.
>> >>
>> >> I would love help feedback on the above.
>> >> My plan is to work on his for this week.
>> >>
>> >> Who else is interested in the above topics?
>> >>
>> >>
>> >> Regards,
>> >> --
>> >> Eugen Stan
>> >> +40720 898 747 / netdava.com
>> >>
>> >
>>
>
>
> --
> Daniel Watford
>


--
Daniel Watford