docker-cloudflared
Docker Compose
docker-cloudflared | Docker Compose | |
---|---|---|
6 | 423 | |
312 | 35,226 | |
1.0% | 1.2% | |
5.2 | 9.7 | |
16 days ago | 5 days ago | |
Dockerfile | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-cloudflared
-
An extensive tutorial on how to setup a Pi-Hole
Edit: Also great to see that AGH has secure DNS built in. My Pi-Hole solution required cloudflared [0] for that.
[0]https://github.com/crazy-max/docker-cloudflared
- pihole with DoT, DoH, or DNSCrypt
-
Firefox extends privacy and security of Canadian internet users with by-default DNS-over-HTTPS rollout in Canada
You can forward all unresolved DNS requests to Cloudflare on Pi-hole, but if you want to send them through DNS over HTTPS (DoH) on your network, you will need to forward them to something running cloudflared. Here are 2 docker containers you can use to host on separate network containers: https://github.com/crazy-max/docker-cloudflared, https://github.com/visibilityspots/dockerfile-cloudflared
-
DNS Question - Leak?
There are multiple types of encrypted DNS services (DoH, DoT, DoQ). I have used DoH using cloudflared. If you are using Docker, you can use this.
-
My ISP starts hijacking dns servers so unbound stopped working
My ISP was doing the same thing. It was only fixed after switching to DoH. OP, if you are using docker, you can use this one file solution to setup pihole+cloudflared. Repo source
-
Is this the ultimate self-hosting setup? I think so...
Cloudflared - DNS over HTTPS client that's not tied to Cloudflare (route Pihole requests through this)
Docker Compose
-
Deploy a Django Rest Api on AWS EC2 using Docker, NGINX, Gunicorn and GitHub Action.
[ec2-user]$ sudo yum update -y [ec2-user]$ sudo yum install -y docker [ec2-user]$ sudo service docker start [ec2-user]$ sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose [ec2-user]$ sudo chmod +x /usr/local/bin/docker-compose [ec2-user]$ docker --version Docker version 20.10.23, build 7155243 [ec2-user]$ docker-compose --version Docker Compose version v2.18.1
- Docker Compose: Make –detach (or –follow) the default behaviour on up
-
Quadlet: Running Podman containers under systemd
If you're a fan of compose files, then you can use Docker's own compose application [1] with Podman [2]. It seems that the compose cli controls the engine using its socket. Both podman and docker engines have the almost same API. I'm using this approach since podman-compose didn't work as expected for me. Docker-compose is usually installed as a plugin for the docker client. However, I use it as a standalone application for use with Podman. In addition, I prefer using docker 'contexts' instead of the DOCKER_HOST environment variable to set up the integration.
Another relevant project is podlet [3]. It can be used to convert compose files, podman/docker command or a running object to a set of quadlet files. Also, note that if plain quadlets aren't powerful enough for you, quadlets [4] and plain podman [5] also support running a limited set of kubernetes manifests.
[1] https://github.com/docker/compose
[2] https://docs.podman.io/en/latest/markdown/podman-system-serv...
[3] https://github.com/containers/podlet
[4] https://docs.podman.io/en/latest/markdown/podman-systemd.uni...
[5] https://docs.podman.io/en/latest/markdown/podman-kube-play.1...
-
Deploying a FastAPI Application with CI/CD Pipeline: HNG Task 3
name: CD Pipeline on: push: branches: [main] jobs: deploy: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v3 - name: Deploy via SSH uses: appleboy/ssh-action@master with: host: ${{ secrets.SSH_HOST }} username: ${{ secrets.SSH_USERNAME }} key: ${{ secrets.SSH_PRIVATE_KEY }} script: | # Update package index and install dependencies sudo apt-get update -y sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common # Add Docker's official GPG key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" # Install Docker sudo apt-get update -y sudo apt-get install -y docker-ce docker-ce-cli containerd.io # Add the SSH user to the Docker group sudo usermod -aG docker ${{ secrets.SSH_USERNAME }} # Install Docker Compose sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose # Verify installations docker --version docker-compose --version # Navigate to the project directory and deploy cd /home/ubuntu/ git clone cd fastapi-book-project/ git pull docker-compose up -d --build
- Implementação de WordPress Escalável na AWS com Docker, RDS e EFS
-
Setting up Bee-Stack on MacOS Intel
#!/bin/bash sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo -i chmod +x /usr/local/bin/docker-compose docker compose version
- Eine Website hinter Active Directory/LDAP mit Nginx
-
Short: User Data file for Ubuntu based AWS ec2 instance with docker and docker compose.
#!/bin/bash # Update the system sudo apt-get update -y sudo apt-get upgrade -y # Install Git sudo apt-get install -y git # Install Docker sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null sudo apt-get update -y sudo apt-get install -y docker-ce docker-ce-cli containerd.io # Add the 'ubuntu' and 'ssm-user' to the Docker group sudo usermod -aG docker ubuntu sudo usermod -aG docker ssm-user id ubuntu ssm-user sudo newgrp docker # Enable and start Docker sudo systemctl enable docker.service sudo systemctl start docker.service # Install Docker Compose v2 sudo mkdir -p /usr/local/lib/docker/cli-plugins sudo curl -SL https://github.com/docker/compose/releases/download/v2.23.3/docker-compose-linux-x86_64 -o /usr/local/lib/docker/cli-plugins/docker-compose sudo chmod +x /usr/local/lib/docker/cli-plugins/docker-compose # Add swap space sudo dd if=/dev/zero of=/swapfile bs=128M count=32 sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile echo "/swapfile swap swap defaults 0 0" | sudo tee -a /etc/fstab
-
Automating Deployment of Flask and PostgreSQL on KVM with Terraform and Ansible
--- - name: Run update ansible.builtin.apt: name: aptitude state: latest update_cache: true - name: Install dependencies ansible.builtin.apt: name: - net-tools - apt-transport-https - ca-certificates - curl - software-properties-common - python3-pip - virtualenv - python3-setuptools - gnupg-agent - autoconf - dpkg-dev - file - g++ - gcc - libc-dev - make - pkg-config - re2c - wget state: present update_cache: true - name: Add Docker GPG apt Key ansible.builtin.apt_key: url: https://download.docker.com/linux/ubuntu/gpg state: present - name: Add repository into sources list ansible.builtin.apt_repository: repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename }} stable state: present filename: docker - name: Install Docker ansible.builtin.apt: name: - docker-ce - docker-ce-cli state: present update_cache: true - name: Add non-root to docker group user: name: ubuntu groups: [docker] append: true - name: Install Docker module for Python ansible.builtin.pip: name: docker - name: Install Docker-Compose ansible.builtin.get_url: url: https://github.com/docker/compose/releases/download/1.29.2/docker-compose-Linux-x86_64 dest: /usr/local/bin/docker-compose mode: '755' - name: Create Docker-Compose symlink ansible.builtin.command: cmd: ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose creates: /usr/bin/docker-compose - name: Restart Docker ansible.builtin.service: name: docker state: restarted enabled: true
What are some alternatives?
AnonAddy-docker - AnonAddy Docker image
supervisor - Supervisor process control system for Unix (supervisord)
docker-fail2ban - Fail2ban Docker image
Cloud-Init - unofficial mirror of Ubuntu's cloud-init
Unbound - Unbound is a validating, recursive, and caching DNS resolver.
Portainer - Making Docker and Kubernetes management easy.