7

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 known as a single point of failure. Packages are replicated between the nodes to ensure they are eventually consistent. Storage Backends mean you can use high ...


6

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: Two main arguments for separation are scalability and separation of concerns (one process per container). Logically the webserver should only act as webserver ...


2

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 can read Medium post about secrets.


2

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 much bigger in principle), maybe even from some built-in behavior in Apache itself and without involving further software? You can use a2ensite as a ...


1

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 socket binding which might be less secure but very easy to handle. To register a runner with docker-in-docker support mount the /var/run/docker.sock:/var/run/...


1

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. Either you need to setup routing through internet gateway or you have to setup ansible server in vpc.


1

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 job workspace directory, build the site to a sub directory in the workspace and symlink the directory with root directory of your site. This allows control ...


1

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 Dockerfile. As a starting place check out the answer on Stack Overflow Deploy Angular 2 to Apache Server. These types of server modifications will need to be baked ...


1

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 have used for 16.04 only needed a single line changes for upgrade to 18.04. I have also used them on a local development environment and there is no need to have ...


1

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


1

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 -v {my_php_app_path}:/var/www/html:Z nimmis/apache-php7


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