I'll have to look more closely at your questions when I have more time, but as a starting point I've got an in-progress (but largely working) Docker version of foundation-mvc-cms here: https://github.com/daniel-isaacs/foundation-mvc-cms/tree/net5-docker
I started from the blog post you linked, but made a few changes. It also includes an nginx reverse proxy in front.
Notes/short version of what’s going on via the Docker setup, roughly broken out by what each file’s doing:
In theory, the steps to bring it up should be:
Once it's up, login is admin@example.com / Episerver123!
Thank you so much for this thourough response! I have now gotten it to work on Docker, and my current challenge is getting the "translation" from docker-compose to a Kubernetes deployment, service, and pvc. If you have any experience on that matter I would love to hear it!
Glad that first step is working!
I haven't been able to work on the Kubernetes side of things, but here is a blog post on how to set up the Optimizely CMS sample site using Kubernetes -- I haven't tried it, but it may be helpful for applying to the foundation site as well: https://dev.to/stoffe/optimizely-on-kubernetes-4k9n
Hi,
Some background: My client wants a test deployment of Optimizely 12 in their onprem Kubernetes Cluster. Not being experienced with either Optimizely/Episerver, SQL, or Docker/Kubernetes I am wondering if someone could give me a push/guide me in the right direction.
I have successfully been able to build the solution Foundation Net Core connecting it to a local sqlexpress database. I have also tried following this guide Working with docker and containers - .NET 5 Series, Part 3 written by Mark Hall, but I am not able to get it working on my Windows developer machine with WSL2. Either way I have created an image of the project "Foundation Net Core" which can be found here: https://hub.docker.com/repository/docker/snorrejablonski/optimizelydotnetcore.
At this stage I am even unsure which questions I should ask, but to start I will list some questions that I hope might have an answer or at least get me a bit further:
And also, if my questions are wrong and you think I should ask other ones, please indulge me and help me out! All help is greatly appreciated 😄