Answer the question
In order to leave comments, you need to log in
How to setup apache in docker container?
There is a php application on ubuntu + apache2. Additionally, Docker is running and a container is created - ubuntu + apache. The idea is this - from the application we make a post request that needs to be processed in the container. Question - how to configure Apache container for this purpose?
I'm just getting started with docker. The first thing that comes to mind is to set up a local host. For example, if the main application has the address test.com, then in the docker I set up the test.com/my_post host. I leave the port by default: 80.
Do I think correctly (I suspect not).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question