# LAMP Stack Concept from Old Fashion Hosting

**URL:** <https://forums.suse.com/t/lamp-stack-concept-from-old-fashion-hosting/8130>\
**Category:** Rancher 1.x\
**Created:** [January 2, 2018, 6:56am UTC](https://forums.suse.com/t/lamp-stack-concept-from-old-fashion-hosting/8130 "2018-01-02T06:56:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lesliechw](https://avatars.discourse-cdn.com/v4/letter/l/8edcca/32.png) [@lesliechw](https://forums.suse.com/u/lesliechw)\
**Post date:** [January 2, 2018, 6:56am UTC](https://forums.suse.com/t/lamp-stack-concept-from-old-fashion-hosting/8130/1 "2018-01-02T06:56:18Z")

</div>

Hello,

For people like me who come from old fashion LAMP stack hosting concept, how does that work in Rancher/Docker world?

What container should I create? I don’t see a LAMP stack in Catalog.

I see MySQL, but what about Apache and PHP? Again, How that work in Rancher/Docker world? Please advice, thank you.

---

<div class="post-metadata">

**Author:** ![kucerarichard](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kucerarichard/32/3167_2.png) [@kucerarichard](https://forums.suse.com/u/kucerarichard)\
**Post date:** [January 3, 2018, 7:23pm UTC](https://forums.suse.com/t/lamp-stack-concept-from-old-fashion-hosting/8130/2 "2018-01-03T19:23:33Z")

</div>

Good question. I couldn’t find anything in the old way.

Try the new way:  
[http://rancher.com/setting-up-a-scalable-and-highly-available-wordpress-environment-with-rancher-and-docker/](http://rancher.com/setting-up-a-scalable-and-highly-available-wordpress-environment-with-rancher-and-docker/)

It’s nginx, if you follow the web server image all the way to Dockerfile in github:

> **[GitHub - galal-hussein/rancher-wordpress-ha](https://github.com/galal-hussein/rancher-wordpress-ha)**
>
> Contribute to galal-hussein/rancher-wordpress-ha development by creating an account on GitHub.

According to the diagram, the new way seems to be composed as follows:

- one docker image for load balancer (haproxy?)
- one docker image for web server (nginx + whatever else)
- one docker image for database (xtradb)
- one docker image for filesystem (glusterfs)

---

<div class="post-metadata">

**Author:** ![lesliechw](https://avatars.discourse-cdn.com/v4/letter/l/8edcca/32.png) [@lesliechw](https://forums.suse.com/u/lesliechw)\
**Post date:** [January 4, 2018, 11:33am UTC](https://forums.suse.com/t/lamp-stack-concept-from-old-fashion-hosting/8130/3 "2018-01-04T11:33:31Z")

</div>

Thanks for the hints. Appreciate that and will try it out. Have a good day…

---

<div class="post-metadata">

**Author:** ![kucerarichard](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kucerarichard/32/3167_2.png) [@kucerarichard](https://forums.suse.com/u/kucerarichard)\
**Post date:** [January 5, 2018, 8:10pm UTC](https://forums.suse.com/t/lamp-stack-concept-from-old-fashion-hosting/8130/4 "2018-01-05T20:10:10Z")

</div>

You’re welcome. Yeah I like that example too, but we’re probably both better off moving on and looking for a good microservices in kubernetes example… (the reasoning being if you’re in (or been replaced by) a team and developing for a big monolithic application then there is still a lot of friction there if you are not doing microservice decomposition).

It’s actually looking like one-content-type/entity-per-microservice. Kind of intriguing if you’re from the Drupal/Wordpress world. Imagine that…

> **[GitHub - ewolff/microservice-kubernetes: Microservices example using Kubernetes](https://github.com/ewolff/microservice-kubernetes)**
>
> Microservices example using Kubernetes. Contribute to ewolff/microservice-kubernetes development by creating an account on GitHub.

> **[Microservices With Kubernetes and Docker - DZone Microservices](https://dzone.com/articles/microservices-with-kubernetes-and-docker)**
>
> Learn step-by-step with code to use Kubernetes open source platform and Docker to create a continuous delivery configuration for building microservices.

[http://rancher.com/tag/microservices/](http://rancher.com/tag/microservices/)

> **[Microservices Made Easier Using Istio | SUSE Communities](https://www.suse.com/c/rancher_blog/microservices-made-easier-using-istio/)**
>
> Expert Training in Kubernetes and Rancher Join our free online training sessions to learn more about Kubernetes, containers, and Rancher. Sign up here Update: This tutorial on Istio was updated for Rancher 2.0 here. One of the recent open source...

and probably jhipster is good for front end

> **[JHipster Meet Rancher](https://jruddell.com/blog/jhipster-meet-rancher)**
>
> A common question in the JHipster chat room is “How to deploy to production?” Developers run into issues dealing with Docker, networking, monitoring, and more, especially when trying to run on a cloud service. JHipster helps out on several of those...
