From 46d11bfa5347f2dc3dd4dfb0ad790685430add35 Mon Sep 17 00:00:00 2001 From: Fijxu Date: Fri, 13 Dec 2024 17:25:01 -0300 Subject: [PATCH] Update docker compose file --- docker-compose.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a30a4f1..b411d74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,10 +12,11 @@ services: # ports: # - "0.0.0.0:8443:8443/tcp" # HTTP/2 # - "0.0.0.0:8443:8443/udp" # HTTP/3 (QUIC) + # Make sure that the key and the certificate files exist! volumes: - - ./key.key:/app/key.key - - ./fullchain.cer:/app/fullchain.cer - command: "./http3-ytproxy -l 0.0.0.0 -p 8443 -https -tls-key ./key.key -tls-cert ./fullchain.cer" + - ./key.key:/data/key.key:ro + - ./fullchain.pem:/data/cert.pem:ro + command: "./http3-ytproxy -l 0.0.0.0 -p 8443 -https" depends_on: - gluetun