1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 06:13:49 +01:00
dnscrypt-server-docker/docker-compose.yml

18 lines
371 B
YAML
Raw Normal View History

version: "4"
services:
dnscrypt:
image: jedisct1/dnscrypt-server:latest
container_name: dnscrypt
restart: always
command: "init -N example.com -E '127.0.0.1:5443'"
# command: "start"
ports:
- '5443:5443/udp'
- '5443:5443/tcp'
volumes:
- keys:/opt/encrypted-dns/etc/keys
environment:
- TZ='UTC'
volumes:
keys: