Skip to content

Docker Compose #615

@ups7

Description

@ups7

Hello,

I created a simple Docker Compose file to install dnscrypt-proxy working on my server. I'm pasting this here for anyone who may prefer it over the included compose file which builds an image. This may be useful for those who manage their containers with tools like Portainer, Dockge or Synology Container Manager.

services:
  dnscrypt-proxy:
    container_name: dnscrypt-proxy
    image: klutchell/dnscrypt-proxy
    ports:
      - 53:5053/tcp  #5053 is the listen_addresses port in global settings in the config file
      - 53:5053/udp
      - 6000:8080  #8080 is the the listen_address port in the [monitoring_ui] section
    volumes:
      - /path/to/config/folder:/config
    restart: always

This maps port 53 for the DNS queries, and port 6000 for accessing the Monitoring UI on the host server.

@klutchell Please feel free to add this compose file to the repository if you feel it will be useful for others.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions