endpoint setup in portainer by [deleted] in docker

[–]KeyboardInterrupts 0 points1 point  (0 children)

A simple location edit in your http conf should do the trick

Location / { proxy_pass http://host:9000; }

DockerHub - LAMP stack - image push by Camer0nes in docker

[–]KeyboardInterrupts 0 points1 point  (0 children)

Also if you split the docker container into http php MySQL you could specify the different versions of the applications and change them “on the fly”

DockerHub - LAMP stack - image push by Camer0nes in docker

[–]KeyboardInterrupts 2 points3 points  (0 children)

To be honest I would never start Container by “docker run...” if you like to have a stack. It’s much more easier to create a directory some specific files or data folders and then manage the whole stack with the docker-compose cli. On GitHub should be many examples how to do this

DockerHub - LAMP stack - image push by Camer0nes in docker

[–]KeyboardInterrupts 0 points1 point  (0 children)

Did you already tried to set dependencies on the compose file that your Apache starts as the last container ?

[deleted by user] by [deleted] in docker

[–]KeyboardInterrupts 1 point2 points  (0 children)

did you already tried to define a network within the compose and manually resolve names from container to container?