Apache Traffic Server is an enterprise-grade proxy and caching server initially developed by Yahoo, then later made open source and managed by the Apache Foundation. The below code is a Dockerfile that will download and build ATS on the latest Ubuntu base image. Currently, we're using Apache Traffic Server version 8.0.5, but if you'd like| JamesCoyle.net
Watchtower is a docker container that will update the version of other running containers. You can change the environment settings as required for your installation - see the full documentation for more info. version: '3' services: watchtower: image: containrrr/watchtower restart: always volumes: - /var/run/docker.sock:/var/run/docker.sock - /etc/timezone:/etc/timezone:ro environment: - WATCHTOWER_CLEANUP=true - WATCHTOWER_LABEL_ENABLE=true - WATCHTOWER_INCLUDE_RESTARTING=true labels: -| JamesCoyle.net
Here is a Bash script for getting a tag value from within a running EC2 Instance. For more information on AWS EC2, please see: https://aws.amazon.com/ec2/ If you're using one of the standard AWS EC2 images, such as Ubuntu, then you'll have everything you need already installed. Thankfully, Amazon installs some tooling on your host that'll help| JamesCoyle.net
Parallel replication has been available in MariaDB since Version 10.0.5, however requires at least version 10.0.5 on both the Master and Slave for parallel replication to work. Parallel replication can help speed up applying changes to a MariaDB slave server by applying several changes at once. What is Parallel Replication? MariaDB replicates data from a| JamesCoyle.net
AWS CodeDeploy Agent is the agent that runs deploy jobs on EC2 instances. Before a CodeDeploy job will run you'll need to make sure the agent is installed, running, and has the correct IAM permissions to execute. For more information on AWS CodeDeploy, please see: https://aws.amazon.com/rds/ Installation is straight forward on Linux and will have| JamesCoyle.net
Here is the script for installing the AWS CodeDeploy agent on Ubuntu. See the full description here. For more information on AWS CodeDeploy, please see: https://aws.amazon.com/codedeploy/ apt update apt -y install ruby cd /tmp wget https://aws-codedeploy-eu-central-1.s3.amazonaws.com/latest/install; chmod +x ./install ./install auto service codedeploy-agent start| JamesCoyle.net
Storj V3 is now in BETA and recruiting Storage Node operators. Since V3 of Storj, Docker is used exclusively to wrap up creating a new Storage Node into a simple, manageable container. You'll need to see the official docs for creating your identity certificates, but when it comes to creating your docker environment it couldn't| JamesCoyle.net
Here is a quick snippet which solves an issue I ran into today. I've recently set up Apache Traffic Server to reverse proxy requests to various Docker containers. It all works great and runs itself in Docker. One thing, however, with a default install of Apache Traffic Server is that it doesn't allow DELETE HTTP| JamesCoyle.net
MySQL or MariaDB has several data types for handling text-based characters. There are several data types for handling smaller strings such as CHAR and VARCHAR data types. For larger text-based strings there are BLOB based data types such as TEXT. It's worth noting at this point that the below-quoted sizes do not necessarily represent the| JamesCoyle.net
version: '3.5' services: gitlab: image: gitlab/gitlab-ce:latest hostname: www.jamescoyle.net restart: unless-stopped environment: GITLAB_OMNIBUS_CONFIG: | gitlab_rails['gitlab_shell_ssh_port'] = 8822 ports: - "8000:80" - "8822:22" volumes: - ./config/gitlab:/etc/gitlab - ./data/gitlab:/var/opt/gitlab - ./logs:/var/log/gitlab networks: - gitlab gitlab-runner: image: gitlab/gitlab-runner:alpine restart: unless-stopped depends_on: - gitlab volumes: - ./config/gitlab-runner:/etc/gitlab-runner - /...| JamesCoyle.net