Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
docker run --rm -it -w /app -v .:/app alpine/openssl genrsa -des3 -out rootCA.key 4096
version: '3' # Specify the Docker Compose version | |
services: | |
adguardhome: # Define the service named 'adguardhome' | |
image: adguard/adguardhome # Use the 'adguard/adguardhome' Docker image | |
container_name: adguardhome # Set the container name to 'adguardhome' | |
restart: unless-stopped # Restart the container automatically unless stopped manually | |
ports: # Map container ports to host ports | |
# Expose port 53 on TCP and UDP for DNS queries | |
- "53:53/tcp" |