11 votes
Accepted

What is the purpose of running PHP-FPM in its own container instead in the same container as apache2/nginx?

Im heavily investigating this, and like many people, im discovering that in 2020 there doesn't seem to be so much logic in separating tightly coupled webserver + PHP + app process/code from each other:...
unity100's user avatar
  • 226
8 votes
Accepted

Load balancing Nexus artifact repository

Sonatype's Nexus 3 Pro supports High Availability through a couple of mechanisms that are collectively known as Component Fabric: Peer-to-peer Repository Managers means there is no one master, also ...
Richard Slater's user avatar
3 votes

What is the purpose of running PHP-FPM in its own container instead in the same container as apache2/nginx?

Separation of concerns is quite a strong reason to keep web server and php-fpm on separate containers, especially in Kubernetes. Containers can be created and maintained by separated teams (PHP by ...
Marek Maksimczyk's user avatar
2 votes
Accepted

How to give value in runtime for chef

You shouldn't. Instead you should use proper secrets management system that would provide you unlocked SSL certificate. By secret management I mean tooling like k8s secret management or Vault. You ...
Hauleth's user avatar
  • 456
2 votes
Accepted

Automating the creation of an Apache virtual-host file specifically

This has already been covered a bit in the comments, but I figured I'd lay out a more extensive answer. Is there a way to automate that / shorten the amount of lines code (the actual script-file is ...
Xiong Chiamiov's user avatar
2 votes

GitLab pipeline stop at the stage of pulling an image from Docker hub

I image you have used the dockerExecutor in gitlab-runner. This means you try to use docker-in-docker. https://docs.gitlab.com/ee/ci/docker/using_docker_build.html I suggest to configure the docker ...
schmichri's user avatar
  • 131
1 vote

How can I get client IP on apache insted of Docker container IP?

When you deploy something via a Docker-container, you have to keep in mind that it's (normally) not-directly-connected to the rest of the world (the Internet, in your case) and that such a connection (...
Damiano Verzulli's user avatar
1 vote

Install apache on awa ec2 from locally installed ansible server on my laptop

You need to put public ip address or hostname assigned by aws ec2 service, if your aws ec2 instance is public. If your aws ec2 instance is located in vpc, you won't be able to connect it directly. ...
KK Patel's user avatar
  • 111
1 vote

Jenkins deploy static web with Apache2

As mentioned, there are many ways to accomplish the final goal of exposing a site built from a Jenkins job to public traffic. Both ideas could work, but here are some tweaks. Instead of changing the ...
George's user avatar
  • 171
1 vote

Deploy dist file in docker file

There are lots of good tutorials for NGINX and it is an easy server to setup with the Angular router. You can still accomplish this with an Apache server, but you may need more steps in your ...
Wesley Rolnick's user avatar
1 vote
Accepted

VAD (Vagrant-Ansible-Docker) stack for Ubuntu and Apache

I think your research is leading you in the right direction, but I cannot see the value of Docker in here. I found managing LAMP environments with Ansible completely unproblematic and the scripts I ...
jdog's user avatar
  • 650
1 vote

Ansible translation: Installing Apache + Certbot in Ubuntu

If you really want to create the role yourself, you have to use --agree-tos --noninteractive to disable user interaction. See https://certbot.eff.org/docs/using.html for more details
030's user avatar
  • 13.1k
1 vote

Apache container cant access php files mounted in /var/www/ - 403 error

SELinux prevent the docker filesystem to work in the intended way, to fix this issue just add the :Z flag at the end of the volume declaration. It goes something like this: docker run -d -p 8080:80 -...
pievalentin's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible