O
O
Otrivin2020-08-16 16:49:49
LAMP
Otrivin, 2020-08-16 16:49:49

Is there a generic LAMP Docker image?

Hello!

Is there a generic image for the LA(E)MP stack for web development? This means an image that contains the most required components with different versions (php for example), which can be included by uncommenting the line with the version / the entire section of the component. Scope of application - improvement of existing sites (transferred from the hosting, set up the environment for it, and start working).

Ideally, I would like to configure:
- php version (5.4 - 7. *)
- database access parameters
- path to document_root (it can be useful for sites on opencart, so as not to go into the configs every time)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vasily Shakhunov, 2020-09-01
@Otrivin

Exist. There are many such https://github.com/sprintcube/docker-compose-lamp
As mentioned above, you need to look at docker-compose, and not the docker itself.

D
Daria Motorina, 2020-08-16
@glaphire

No, it doesn't exist, at least the docker itself is being updated and some configuration methods are changing. You can get good with docker-compose once and then make yourself a boilerplate repository in order to have a framework of settings and only slightly adapt them to new projects

S
Sanes, 2020-08-16
@Sanes

Campaign programmers will never learn how to assemble the environment.
What is difficult here?
I hope the principle will be clear from the code? Ubuntu 20.04
https://bitbucket.org/Drobkov/cpadmin-ansible/src/...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question