Browse Source

fix letsencrypt paths

Guilhem Saurel 7 years ago
parent
commit
4a4735b1c6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      registry/docker-compose.yml

+ 3 - 3
registry/docker-compose.yml

@@ -7,7 +7,7 @@ services:
     ports:
       - "5000:5000"
     volumes:
-      - /etc/letsencrypt/live/oxyta.net:/certs
+      - /etc/letsencrypt/:/etc/letsencrypt
     environment:
-      - REGISTRY_HTTP_TLS_CERTIFICATE=/certs/fullchain.pem
-      - REGISTRY_HTTP_TLS_KEY=/certs/privkey.pem
+      - REGISTRY_HTTP_TLS_CERTIFICATE=/etc/letsencrypt/live/oxyta.net/fullchain.pem
+      - REGISTRY_HTTP_TLS_KEY=/etc/letsencrypt/live/oxyta.net/privkey.pem