Browse Source

version bump, removed watchtower label and mailcow volume

root 3 months ago
parent
commit
e3c6e9fbdc
1 changed files with 8 additions and 9 deletions
  1. 8 9
      docker-compose.yml

+ 8 - 9
docker-compose.yml

@@ -1,34 +1,33 @@
-version: '3.2'
+version: '3.6'
+
 services:
   reverse-proxy:
     container_name: reverse-proxy
-    image: jwilder/nginx-proxy:alpine 
+    image: nginxproxy/nginx-proxy:alpine
     labels:
-      com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy: true
-      com.centurylinklabs.watchtower.enable: true
+      - "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy"
     ports:
       - "80:80"
       - "443:443"
     environment:
       SSL_POLICY: "Mozilla-Modern"
     volumes:
-      - /opt/mailcow-dockerized/data/assets/ssl/:/etc/ssl/mail/:ro
       - /var/run/docker.sock:/tmp/docker.sock:ro
       - ./data/certs/:/etc/nginx/certs:ro
       - ./data/conf.d/:/etc/nginx/conf.d/
       - ./data/vhost.d/:/etc/nginx/vhost.d/
       - ./data/html/:/usr/share/nginx/html/
       - ./data/htpasswd/:/etc/nginx/htpasswd/
+
   acme-companion:
     container_name: acme-companion
     depends_on:
       - reverse-proxy
-    image: jrcs/letsencrypt-nginx-proxy-companion      
-    labels:
-      com.centurylinklabs.watchtower.enable: true
+    image: nginxproxy/acme-companion 
     volumes:
       - /var/run/docker.sock:/var/run/docker.sock:ro
       - ./data/certs/:/etc/nginx/certs:rw
       - ./data/conf.d/:/etc/nginx/conf.d/
       - ./data/vhost.d/:/etc/nginx/vhost.d/
-      - ./data/html/:/usr/share/nginx/html/
+      - ./data/html/:/usr/share/nginx/html/
+      - ./data/acme.sh:/etc/acme.sh